com.liferay.portlet.bookmarks.service
Interface BookmarksFolderService
- All Known Implementing Classes:
- BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl, BookmarksFolderServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksFolderService
The interface for the bookmarks folder remote service.
This is a remote service. 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:
BookmarksFolderServiceUtil
,
BookmarksFolderServiceBaseImpl
,
BookmarksFolderServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Method Summary |
BookmarksFolder |
addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
|
void |
deleteFolder(long folderId)
|
BookmarksFolder |
getFolder(long folderId)
|
List<BookmarksFolder> |
getFolders(long groupId)
|
List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId)
|
List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end)
|
int |
getFoldersCount(long groupId,
long parentFolderId)
|
void |
getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
|
BookmarksFolder |
updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
|
addFolder
BookmarksFolder addFolder(long parentFolderId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFolder
void deleteFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolder
@Transactional(propagation=SUPPORTS,
readOnly=true)
BookmarksFolder getFolder(long folderId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<BookmarksFolder> getFolders(long groupId)
throws SystemException
- Throws:
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<BookmarksFolder> getFolders(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getFolders
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<BookmarksFolder> getFolders(long groupId,
long parentFolderId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFoldersCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersCount(long groupId,
long parentFolderId)
throws SystemException
- Throws:
SystemException
getSubfolderIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
void getSubfolderIds(List<Long> folderIds,
long groupId,
long folderId)
throws SystemException
- Throws:
SystemException
updateFolder
BookmarksFolder updateFolder(long folderId,
long parentFolderId,
String name,
String description,
boolean mergeWithParentFolder,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException