com.liferay.portlet.bookmarks.service
Interface BookmarksFolderLocalService

All Known Implementing Classes:
BookmarksFolderLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksFolderLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.bookmarks.service.impl.BookmarksFolderLocalServiceImpl}. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
BookmarksFolderLocalServiceUtil
Generated:

Method Summary
 BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
           
 BookmarksFolder addFolder(java.lang.String uuid, long userId, long parentFolderId, java.lang.String name, java.lang.String description, ServiceContext serviceContext)
           
 void addFolderResources(BookmarksFolder folder, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(BookmarksFolder folder, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFolderResources(long folderId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFolderResources(long folderId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 BookmarksFolder createBookmarksFolder(long folderId)
           
 void deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
           
 void deleteBookmarksFolder(long folderId)
           
 void deleteFolder(BookmarksFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 BookmarksFolder getBookmarksFolder(long folderId)
           
 BookmarksFolder getBookmarksFolderByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 java.util.List<BookmarksFolder> getBookmarksFolders(int start, int end)
           
 int getBookmarksFoldersCount()
           
 java.util.List<BookmarksFolder> getCompanyFolders(long companyId, int start, int end)
           
 int getCompanyFoldersCount(long companyId)
           
 BookmarksFolder getFolder(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)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
           
 BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
           
 BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder, boolean merge)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 

Method Detail

addBookmarksFolder

BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
                                   throws SystemException
Throws:
SystemException

createBookmarksFolder

BookmarksFolder createBookmarksFolder(long folderId)

deleteBookmarksFolder

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

deleteBookmarksFolder

void deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
                           throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getBookmarksFolder

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

getBookmarksFolderByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksFolder getBookmarksFolderByUuidAndGroupId(java.lang.String uuid,
                                                                                            long groupId)
                                                   throws PortalException,
                                                          SystemException
Throws:
PortalException
SystemException

getBookmarksFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksFolder> getBookmarksFolders(int start,
                                                                                             int end)
                                                    throws SystemException
Throws:
SystemException

getBookmarksFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getBookmarksFoldersCount()
                             throws SystemException
Throws:
SystemException

updateBookmarksFolder

BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
                                      throws SystemException
Throws:
SystemException

updateBookmarksFolder

BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder,
                                      boolean merge)
                                      throws SystemException
Throws:
SystemException

addFolder

BookmarksFolder addFolder(java.lang.String uuid,
                          long userId,
                          long parentFolderId,
                          java.lang.String name,
                          java.lang.String description,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(BookmarksFolder folder,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(BookmarksFolder folder,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(long folderId,
                        boolean addCommunityPermissions,
                        boolean addGuestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

addFolderResources

void addFolderResources(long folderId,
                        java.lang.String[] communityPermissions,
                        java.lang.String[] guestPermissions)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteFolder

void deleteFolder(BookmarksFolder folder)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteFolder

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

deleteFolders

void deleteFolders(long groupId)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getCompanyFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksFolder> getCompanyFolders(long companyId,
                                                                                           int start,
                                                                                           int end)
                                                  throws SystemException
Throws:
SystemException

getCompanyFoldersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyFoldersCount(long companyId)
                           throws SystemException
Throws:
SystemException

getFolder

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

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksFolder> getFolders(long groupId)
                                           throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<BookmarksFolder> getFolders(long groupId,
                                                                                    long parentFolderId)
                                           throws SystemException
Throws:
SystemException

getFolders

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.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(java.util.List<java.lang.Long> folderIds,
                                                              long groupId,
                                                              long folderId)
                     throws SystemException
Throws:
SystemException

updateFolder

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