Package com.liferay.bookmarks.service
Interface BookmarksFolderService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
BookmarksFolderServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BookmarksFolderService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for BookmarksFolder. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddFolder(long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteFolder(long folderId) voiddeleteFolder(long folderId, boolean includeTrashedEntries) getFolder(long folderId) getFolderIds(long groupId, long folderId) getFolders(long groupId) getFolders(long groupId, long parentFolderId) getFolders(long groupId, long parentFolderId, int start, int end) 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) intgetFoldersAndEntriesCount(long groupId, long folderId) intgetFoldersAndEntriesCount(long groupId, long folderId, int status) intgetFoldersCount(long groupId, long parentFolderId) intgetFoldersCount(long groupId, long parentFolderId, int status) Returns the OSGi service identifier.getSubfolderIds(long groupId, long folderId, boolean recurse) voidgetSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse) voidmergeFolders(long folderId, long parentFolderId) moveFolder(long folderId, long parentFolderId) moveFolderFromTrash(long folderId, long parentFolderId) moveFolderToTrash(long folderId) voidrestoreFolderFromTrash(long folderId) voidsubscribeFolder(long groupId, long folderId) voidunsubscribeFolder(long groupId, long folderId) updateFolder(long folderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addFolder
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
void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFolder
void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolder
@Transactional(propagation=SUPPORTS, readOnly=true) BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolderIds
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFolders
-
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksFolder> getFolders(long groupId, long parentFolderId) -
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end) -
getFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end) -
getFoldersAndEntries
-
getFoldersAndEntries
-
getFoldersAndEntries
-
getFoldersAndEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndEntriesCount(long groupId, long folderId) -
getFoldersAndEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndEntriesCount(long groupId, long folderId, int status) -
getFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId) -
getFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status) -
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getSubfolderIds
-
getSubfolderIds
-
mergeFolders
void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolder
BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderFromTrash
BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFolderToTrash
BookmarksFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreFolderFromTrash
void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeFolder
void subscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeFolder
void unsubscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFolder
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
-