com.liferay.portlet.bookmarks.service
Class BookmarksFolderLocalServiceUtil
java.lang.Object
com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil
public class BookmarksFolderLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
BookmarksFolderLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
BookmarksFolderLocalService
- Generated:
Method Summary |
static BookmarksFolder |
addBookmarksFolder(BookmarksFolder bookmarksFolder)
|
static BookmarksFolder |
addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
static void |
addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFolderResources(BookmarksFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static BookmarksFolder |
createBookmarksFolder(long folderId)
|
static void |
deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
|
static void |
deleteBookmarksFolder(long folderId)
|
static void |
deleteFolder(BookmarksFolder folder)
|
static void |
deleteFolder(long folderId)
|
static void |
deleteFolders(long groupId)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static BookmarksFolder |
getBookmarksFolder(long folderId)
|
static java.util.List<BookmarksFolder> |
getBookmarksFolders(int start,
int end)
|
static int |
getBookmarksFoldersCount()
|
static java.util.List<BookmarksFolder> |
getCompanyFolders(long companyId,
int start,
int end)
|
static int |
getCompanyFoldersCount(long companyId)
|
static BookmarksFolder |
getFolder(long folderId)
|
static java.util.List<BookmarksFolder> |
getFolders(long groupId)
|
static java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId)
|
static java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
static int |
getFoldersCount(long groupId,
long parentFolderId)
|
static BookmarksFolderLocalService |
getService()
|
static void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
|
void |
setService(BookmarksFolderLocalService service)
|
static BookmarksFolder |
updateBookmarksFolder(BookmarksFolder bookmarksFolder)
|
static BookmarksFolder |
updateBookmarksFolder(BookmarksFolder bookmarksFolder,
boolean merge)
|
static BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookmarksFolderLocalServiceUtil
public BookmarksFolderLocalServiceUtil()
addBookmarksFolder
public static BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createBookmarksFolder
public static BookmarksFolder createBookmarksFolder(long folderId)
deleteBookmarksFolder
public static void deleteBookmarksFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteBookmarksFolder
public static void deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getBookmarksFolder
public static BookmarksFolder getBookmarksFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getBookmarksFolders
public static java.util.List<BookmarksFolder> getBookmarksFolders(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getBookmarksFoldersCount
public static int getBookmarksFoldersCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBookmarksFolder
public static BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateBookmarksFolder
public static BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addFolder
public static BookmarksFolder addFolder(java.lang.String uuid,
long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(BookmarksFolder folder,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(BookmarksFolder folder,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(long folderId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addFolderResources
public static void addFolderResources(long folderId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolder
public static void deleteFolder(BookmarksFolder folder)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolder
public static void deleteFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteFolders
public static void deleteFolders(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyFolders
public static java.util.List<BookmarksFolder> getCompanyFolders(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyFoldersCount
public static int getCompanyFoldersCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolder
public static BookmarksFolder getFolder(long folderId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<BookmarksFolder> getFolders(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<BookmarksFolder> getFolders(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFolders
public static java.util.List<BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFoldersCount
public static int getFoldersCount(long groupId,
long parentFolderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getSubfolderIds
public static void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateFolder
public static BookmarksFolder updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static BookmarksFolderLocalService getService()
setService
public void setService(BookmarksFolderLocalService service)