Liferay 6.2.0

com.liferay.portlet.bookmarks.service
Interface BookmarksFolderService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl, BookmarksFolderServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksFolderService
extends 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:
BookmarksFolderServiceUtil, BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
abstract  void deleteFolder(long folderId)
           
abstract  void deleteFolder(long folderId, boolean includeTrashedEntries)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  BookmarksFolder getFolder(long folderId)
           
abstract  List<Long> getFolderIds(long groupId, long folderId)
           
abstract  List<BookmarksFolder> getFolders(long groupId)
           
abstract  List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
           
abstract  List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
abstract  List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
abstract  List<Object> getFoldersAndEntries(long groupId, long folderId)
           
abstract  List<Object> getFoldersAndEntries(long groupId, long folderId, int status)
           
abstract  List<Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
           
abstract  int getFoldersAndEntriesCount(long groupId, long folderId)
           
abstract  int getFoldersAndEntriesCount(long groupId, long folderId, int status)
           
abstract  int getFoldersCount(long groupId, long parentFolderId)
           
abstract  int getFoldersCount(long groupId, long parentFolderId, int status)
           
abstract  void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
           
abstract  List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
abstract  BookmarksFolder moveFolder(long folderId, long parentFolderId)
           
abstract  BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId)
           
abstract  BookmarksFolder moveFolderToTrash(long folderId)
           
abstract  void restoreFolderFromTrash(long folderId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void subscribeFolder(long groupId, long folderId)
           
abstract  void unsubscribeFolder(long groupId, long folderId)
           
abstract  BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

deleteFolder

void deleteFolder(long folderId,
                  boolean includeTrashedEntries)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFolder

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksFolder getFolder(long folderId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getFolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Long> getFolderIds(long groupId,
                                                                 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

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksFolder> getFolders(long groupId,
                                                                          long parentFolderId,
                                                                          int status,
                                                                          int start,
                                                                          int end)
                                 throws SystemException
Throws:
SystemException

getFoldersAndEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndEntries(long groupId,
                                                                           long folderId)
                                  throws SystemException
Throws:
SystemException

getFoldersAndEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndEntries(long groupId,
                                                                           long folderId,
                                                                           int status)
                                  throws SystemException
Throws:
SystemException

getFoldersAndEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Object> getFoldersAndEntries(long groupId,
                                                                           long folderId,
                                                                           int status,
                                                                           int start,
                                                                           int end)
                                  throws SystemException
Throws:
SystemException

getFoldersAndEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndEntriesCount(long groupId,
                                                                       long folderId)
                              throws SystemException
Throws:
SystemException

getFoldersAndEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersAndEntriesCount(long groupId,
                                                                       long folderId,
                                                                       int status)
                              throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId)
                    throws SystemException
Throws:
SystemException

getFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersCount(long groupId,
                                                             long parentFolderId,
                                                             int status)
                    throws SystemException
Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                              long groupId,
                                                              long folderId)
                     throws SystemException
Throws:
SystemException

getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Long> getSubfolderIds(long groupId,
                                                                    long folderId,
                                                                    boolean recurse)
                           throws SystemException
Throws:
SystemException

moveFolder

BookmarksFolder moveFolder(long folderId,
                           long parentFolderId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

moveFolderFromTrash

BookmarksFolder moveFolderFromTrash(long folderId,
                                    long parentFolderId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

moveFolderToTrash

BookmarksFolder moveFolderToTrash(long folderId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

restoreFolderFromTrash

void restoreFolderFromTrash(long folderId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

subscribeFolder

void subscribeFolder(long groupId,
                     long folderId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

unsubscribeFolder

void unsubscribeFolder(long groupId,
                       long folderId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateFolder

BookmarksFolder updateFolder(long folderId,
                             long parentFolderId,
                             String name,
                             String description,
                             boolean mergeWithParentFolder,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0