Package com.liferay.bookmarks.service
Class BookmarksFolderServiceUtil
java.lang.Object
com.liferay.bookmarks.service.BookmarksFolderServiceUtil
Provides the remote service utility for BookmarksFolder. This utility wraps
com.liferay.bookmarks.service.impl.BookmarksFolderServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BookmarksFolderaddFolder(long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteFolder(long folderId) static voiddeleteFolder(long folderId, boolean includeTrashedEntries) static BookmarksFoldergetFolder(long folderId) getFolderIds(long groupId, long folderId) static List<BookmarksFolder>getFolders(long groupId) static List<BookmarksFolder>getFolders(long groupId, long parentFolderId) static List<BookmarksFolder>getFolders(long groupId, long parentFolderId, int start, int end) static List<BookmarksFolder>getFolders(long groupId, long parentFolderId, int status, int start, int end) getFoldersAndEntries(long groupId, long folderId) getFoldersAndEntries(long groupId, long folderId, int status) getFoldersAndEntries(long groupId, long folderId, int status, int start, int end) static intgetFoldersAndEntriesCount(long groupId, long folderId) static intgetFoldersAndEntriesCount(long groupId, long folderId, int status) static intgetFoldersCount(long groupId, long parentFolderId) static intgetFoldersCount(long groupId, long parentFolderId, int status) static StringReturns the OSGi service identifier.static BookmarksFolderServicegetSubfolderIds(long groupId, long folderId, boolean recurse) static voidgetSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) static voidmergeFolders(long folderId, long parentFolderId) static BookmarksFoldermoveFolder(long folderId, long parentFolderId) static BookmarksFoldermoveFolderFromTrash(long folderId, long parentFolderId) static BookmarksFoldermoveFolderToTrash(long folderId) static voidrestoreFolderFromTrash(long folderId) static voidsubscribeFolder(long groupId, long folderId) static voidunsubscribeFolder(long groupId, long folderId) static BookmarksFolderupdateFolder(long folderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
BookmarksFolderServiceUtil
public BookmarksFolderServiceUtil()
-
-
Method Details
-
addFolder
public static BookmarksFolder addFolder(long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public static void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolder
public static BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderIds
public static List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolders
-
getFolders
-
getFolders
public static List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end) -
getFolders
public static List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) -
getFoldersAndEntries
-
getFoldersAndEntries
-
getFoldersAndEntries
-
getFoldersAndEntriesCount
public static int getFoldersAndEntriesCount(long groupId, long folderId) -
getFoldersAndEntriesCount
public static int getFoldersAndEntriesCount(long groupId, long folderId, int status) -
getFoldersCount
public static int getFoldersCount(long groupId, long parentFolderId) -
getFoldersCount
public static int getFoldersCount(long groupId, long parentFolderId, int status) -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSubfolderIds
-
getSubfolderIds
-
mergeFolders
public static void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolder
public static BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderFromTrash
public static BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderToTrash
public static BookmarksFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
public static void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeFolder
public static void subscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeFolder
public static void unsubscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
public static BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-