@AccessControlled
@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
BookmarksFolderServiceUtil
,
com.liferay.bookmarks.service.base.BookmarksFolderServiceBaseImpl
,
com.liferay.bookmarks.service.impl.BookmarksFolderServiceImpl
Modifier and Type | Method and Description |
---|---|
BookmarksFolder |
addFolder(long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteFolder(long folderId) |
void |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
BookmarksFolder |
getFolder(long folderId) |
java.util.List<java.lang.Long> |
getFolderIds(long groupId,
long folderId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end) |
int |
getFoldersAndEntriesCount(long groupId,
long folderId) |
int |
getFoldersAndEntriesCount(long groupId,
long folderId,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getSubfolderIds(List, long, long, boolean) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId,
boolean recurse) |
java.util.List<java.lang.Long> |
getSubfolderIds(long groupId,
long folderId,
boolean recurse) |
void |
mergeFolders(long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolder(long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolderFromTrash(long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolderToTrash(long folderId) |
void |
restoreFolderFromTrash(long folderId) |
void |
subscribeFolder(long groupId,
long folderId) |
void |
unsubscribeFolder(long groupId,
long folderId) |
BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateFolder(long, long, String, String, ServiceContext)
and mergeFolders(long, long) |
BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
BookmarksFolder addFolder(long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksFolder> getFolders(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndEntriesCount(long groupId, long folderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndEntriesCount(long groupId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status)
java.lang.String getOSGiServiceIdentifier()
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds(List, long, long, boolean)
@Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId, boolean recurse)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<java.lang.Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
BookmarksFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void subscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void unsubscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder(long, long, String, String, ServiceContext)
and mergeFolders(long, long)
com.liferay.portal.kernel.exception.PortalException
BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException