Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service
Interface BookmarksFolderService

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

@AccessControlled
@JSONWebService
@ProviderType
@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
 BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
 void deleteFolder(long folderId)
           
 void deleteFolder(long folderId, boolean includeTrashedEntries)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 BookmarksFolder getFolder(long folderId)
           
 List<Long> getFolderIds(long groupId, 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)
           
 List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
 List<Object> getFoldersAndEntries(long groupId, long folderId)
           
 List<Object> getFoldersAndEntries(long groupId, long folderId, int status)
           
 List<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)
           
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
 void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
 List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
 BookmarksFolder moveFolder(long folderId, long parentFolderId)
           
 BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId)
           
 BookmarksFolder moveFolderToTrash(long folderId)
           
 void restoreFolderFromTrash(long folderId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void subscribeFolder(long groupId, long folderId)
           
 void unsubscribeFolder(long groupId, long folderId)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

addFolder

BookmarksFolder addFolder(long parentFolderId,
                          String name,
                          String description,
                          ServiceContext serviceContext)
                          throws PortalException
Throws:
PortalException

deleteFolder

void deleteFolder(long folderId)
                  throws PortalException
Throws:
PortalException

deleteFolder

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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getFolder

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

getFolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Long> getFolderIds(long groupId,
                                                                 long folderId)
                        throws PortalException
Throws:
PortalException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksFolder> getFolders(long groupId)

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

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

getFoldersAndEntries

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

getFoldersAndEntries

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

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)

getSubfolderIds

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                                         long groupId,
                                                                         long folderId)
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)


getSubfolderIds

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void getSubfolderIds(List<Long> folderIds,
                                                              long groupId,
                                                              long folderId,
                                                              boolean recurse)

getSubfolderIds

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

moveFolder

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

moveFolderFromTrash

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

moveFolderToTrash

BookmarksFolder moveFolderToTrash(long folderId)
                                  throws PortalException
Throws:
PortalException

restoreFolderFromTrash

void restoreFolderFromTrash(long folderId)
                            throws PortalException
Throws:
PortalException

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribeFolder

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

unsubscribeFolder

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

updateFolder

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

Liferay 7.0-ce-m2