com.liferay.portlet.bookmarks.service
Class BookmarksFolderLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceUtil

public class BookmarksFolderLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.bookmarks.service.BookmarksFolderLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
BookmarksFolderLocalService, BookmarksFolderLocalServiceFactory

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

Constructor Detail

BookmarksFolderLocalServiceUtil

public BookmarksFolderLocalServiceUtil()
Method Detail

addBookmarksFolder

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

dynamicQuery

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

dynamicQuery

public static 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 static BookmarksFolder updateBookmarksFolder(BookmarksFolder model)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getBookmarksEntryPersistence

public static BookmarksEntryPersistence getBookmarksEntryPersistence()

setBookmarksEntryPersistence

public static void setBookmarksEntryPersistence(BookmarksEntryPersistence bookmarksEntryPersistence)

getBookmarksEntryFinder

public static BookmarksEntryFinder getBookmarksEntryFinder()

setBookmarksEntryFinder

public static void setBookmarksEntryFinder(BookmarksEntryFinder bookmarksEntryFinder)

getBookmarksFolderPersistence

public static BookmarksFolderPersistence getBookmarksFolderPersistence()

setBookmarksFolderPersistence

public static void setBookmarksFolderPersistence(BookmarksFolderPersistence bookmarksFolderPersistence)

getResourcePersistence

public static ResourcePersistence getResourcePersistence()

setResourcePersistence

public static void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public static ResourceFinder getResourceFinder()

setResourceFinder

public static void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public static UserPersistence getUserPersistence()

setUserPersistence

public static void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public static UserFinder getUserFinder()

setUserFinder

public static void setUserFinder(UserFinder userFinder)

getTagsEntryPersistence

public static TagsEntryPersistence getTagsEntryPersistence()

setTagsEntryPersistence

public static void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)

getTagsEntryFinder

public static TagsEntryFinder getTagsEntryFinder()

setTagsEntryFinder

public static void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)

afterPropertiesSet

public static void afterPropertiesSet()

addFolder

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

addFolder

public static 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.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

public static 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.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolder

public static 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.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFolderResources

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

addFolderResources

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

addFolderResources

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

addFolderResources

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

deleteFolder

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

deleteFolder

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

deleteFolders

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

getFolder

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

getFolders

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

getFoldersCount

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

getSubfolderIds

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

reIndex

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

search

public static 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 static BookmarksFolder updateFolder(long folderId,
                                           long parentFolderId,
                                           java.lang.String name,
                                           java.lang.String description,
                                           boolean mergeWithParentFolder)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException