com.liferay.portlet.bookmarks.service
Interface BookmarksFolderLocalService


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:
BookmarksFolderLocalServiceFactory, BookmarksFolderLocalServiceUtil

Method Summary
 BookmarksFolder addBookmarksFolder(BookmarksFolder model)
           
 BookmarksFolder addFolder(long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 BookmarksFolder addFolder(long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 BookmarksFolder addFolder(java.lang.String uuid, long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 BookmarksFolder addFolder(java.lang.String uuid, long userId, long plid, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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)
           
 void afterPropertiesSet()
           
 void deleteFolder(BookmarksFolder folder)
           
 void deleteFolder(long folderId)
           
 void deleteFolders(long groupId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 BookmarksEntryFinder getBookmarksEntryFinder()
           
 BookmarksEntryPersistence getBookmarksEntryPersistence()
           
 BookmarksFolderPersistence getBookmarksFolderPersistence()
           
 BookmarksFolder getFolder(long folderId)
           
 java.util.List getFolders(long groupId, long parentFolderId, int begin, int end)
           
 int getFoldersCount(long groupId, long parentFolderId)
           
 ResourceFinder getResourceFinder()
           
 ResourcePersistence getResourcePersistence()
           
 void getSubfolderIds(java.util.List folderIds, long groupId, long folderId)
           
 TagsEntryFinder getTagsEntryFinder()
           
 TagsEntryPersistence getTagsEntryPersistence()
           
 UserFinder getUserFinder()
           
 UserPersistence getUserPersistence()
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long[] folderIds, java.lang.String keywords)
           
 void setBookmarksEntryFinder(BookmarksEntryFinder bookmarksEntryFinder)
           
 void setBookmarksEntryPersistence(BookmarksEntryPersistence bookmarksEntryPersistence)
           
 void setBookmarksFolderPersistence(BookmarksFolderPersistence bookmarksFolderPersistence)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 void setResourcePersistence(ResourcePersistence resourcePersistence)
           
 void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
           
 void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
           
 void setUserFinder(UserFinder userFinder)
           
 void setUserPersistence(UserPersistence userPersistence)
           
 BookmarksFolder updateBookmarksFolder(BookmarksFolder model)
           
 BookmarksFolder updateFolder(long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder)
           
 

Method Detail

addBookmarksFolder

public BookmarksFolder addBookmarksFolder(BookmarksFolder model)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBookmarksFolder

public BookmarksFolder updateBookmarksFolder(BookmarksFolder model)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBookmarksEntryPersistence

public BookmarksEntryPersistence getBookmarksEntryPersistence()

setBookmarksEntryPersistence

public void setBookmarksEntryPersistence(BookmarksEntryPersistence bookmarksEntryPersistence)

getBookmarksEntryFinder

public BookmarksEntryFinder getBookmarksEntryFinder()

setBookmarksEntryFinder

public void setBookmarksEntryFinder(BookmarksEntryFinder bookmarksEntryFinder)

getBookmarksFolderPersistence

public BookmarksFolderPersistence getBookmarksFolderPersistence()

setBookmarksFolderPersistence

public void setBookmarksFolderPersistence(BookmarksFolderPersistence bookmarksFolderPersistence)

getResourcePersistence

public ResourcePersistence getResourcePersistence()

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public ResourceFinder getResourceFinder()

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public UserPersistence getUserPersistence()

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public UserFinder getUserFinder()

setUserFinder

public void setUserFinder(UserFinder userFinder)

getTagsEntryPersistence

public TagsEntryPersistence getTagsEntryPersistence()

setTagsEntryPersistence

public void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)

getTagsEntryFinder

public TagsEntryFinder getTagsEntryFinder()

setTagsEntryFinder

public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)

afterPropertiesSet

public void afterPropertiesSet()

addFolder

public BookmarksFolder addFolder(long userId,
                                 long plid,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolder

public BookmarksFolder addFolder(java.lang.String uuid,
                                 long userId,
                                 long plid,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 boolean addCommunityPermissions,
                                 boolean addGuestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolder

public BookmarksFolder addFolder(long userId,
                                 long plid,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolder

public BookmarksFolder addFolder(java.lang.String uuid,
                                 long userId,
                                 long plid,
                                 long parentFolderId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.Boolean addCommunityPermissions,
                                 java.lang.Boolean addGuestPermissions,
                                 java.lang.String[] communityPermissions,
                                 java.lang.String[] guestPermissions)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolderResources

public void addFolderResources(long folderId,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolderResources

public void addFolderResources(BookmarksFolder folder,
                               boolean addCommunityPermissions,
                               boolean addGuestPermissions)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addFolderResources

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

addFolderResources

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

deleteFolder

public void deleteFolder(long folderId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFolder

public void deleteFolder(BookmarksFolder folder)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteFolders

public void deleteFolders(long groupId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFolder

public BookmarksFolder getFolder(long folderId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getFolders

public java.util.List getFolders(long groupId,
                                 long parentFolderId,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFoldersCount

public int getFoldersCount(long groupId,
                           long parentFolderId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSubfolderIds

public void getSubfolderIds(java.util.List folderIds,
                            long groupId,
                            long folderId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

public void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    long groupId,
                                                    long[] folderIds,
                                                    java.lang.String keywords)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFolder

public BookmarksFolder updateFolder(long folderId,
                                    long parentFolderId,
                                    java.lang.String name,
                                    java.lang.String description,
                                    boolean mergeWithParentFolder)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException