Liferay 6.2-ce-ga5

com.liferay.portlet.bookmarks.service
Class BookmarksFolderServiceUtil

java.lang.Object
  extended by com.liferay.portlet.bookmarks.service.BookmarksFolderServiceUtil

@ProviderType
public class BookmarksFolderServiceUtil
extends Object

Provides the remote service utility for BookmarksFolder. This utility wraps com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl and is the primary access point for service operations in application layer code running on a remote server. 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:
BookmarksFolderService, com.liferay.portlet.bookmarks.service.base.BookmarksFolderServiceBaseImpl, com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl

Constructor Summary
BookmarksFolderServiceUtil()
           
 
Method Summary
static BookmarksFolder addFolder(long parentFolderId, String name, String description, ServiceContext serviceContext)
           
static void deleteFolder(long folderId)
           
static void deleteFolder(long folderId, boolean includeTrashedEntries)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static BookmarksFolder getFolder(long folderId)
           
static List<Long> getFolderIds(long groupId, long folderId)
           
static List<BookmarksFolder> getFolders(long groupId)
           
static List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
           
static List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
           
static List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
           
static List<Object> getFoldersAndEntries(long groupId, long folderId)
           
static List<Object> getFoldersAndEntries(long groupId, long folderId, int status)
           
static List<Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
           
static int getFoldersAndEntriesCount(long groupId, long folderId)
           
static int getFoldersAndEntriesCount(long groupId, long folderId, int status)
           
static int getFoldersCount(long groupId, long parentFolderId)
           
static int getFoldersCount(long groupId, long parentFolderId, int status)
           
static BookmarksFolderService getService()
           
static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
          Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)
static void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
           
static List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
           
static BookmarksFolder moveFolder(long folderId, long parentFolderId)
           
static BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId)
           
static BookmarksFolder moveFolderToTrash(long folderId)
           
static void restoreFolderFromTrash(long folderId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(BookmarksFolderService service)
          Deprecated. As of 6.2.0
static void subscribeFolder(long groupId, long folderId)
           
static void unsubscribeFolder(long groupId, long folderId)
           
static BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksFolderServiceUtil

public BookmarksFolderServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addFolder

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

deleteFolder

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

deleteFolder

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

getFolder

public static BookmarksFolder getFolder(long folderId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFolderIds

public static List<Long> getFolderIds(long groupId,
                                      long folderId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFolders

public static List<BookmarksFolder> getFolders(long groupId)
                                        throws SystemException
Throws:
SystemException

getFolders

public static List<BookmarksFolder> getFolders(long groupId,
                                               long parentFolderId)
                                        throws SystemException
Throws:
SystemException

getFolders

public static List<BookmarksFolder> getFolders(long groupId,
                                               long parentFolderId,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException

getFolders

public static List<BookmarksFolder> getFolders(long groupId,
                                               long parentFolderId,
                                               int status,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException

getFoldersAndEntries

public static List<Object> getFoldersAndEntries(long groupId,
                                                long folderId)
                                         throws SystemException
Throws:
SystemException

getFoldersAndEntries

public static List<Object> getFoldersAndEntries(long groupId,
                                                long folderId,
                                                int status)
                                         throws SystemException
Throws:
SystemException

getFoldersAndEntries

public static List<Object> getFoldersAndEntries(long groupId,
                                                long folderId,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Throws:
SystemException

getFoldersAndEntriesCount

public static int getFoldersAndEntriesCount(long groupId,
                                            long folderId)
                                     throws SystemException
Throws:
SystemException

getFoldersAndEntriesCount

public static int getFoldersAndEntriesCount(long groupId,
                                            long folderId,
                                            int status)
                                     throws SystemException
Throws:
SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId)
                           throws SystemException
Throws:
SystemException

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId,
                                  int status)
                           throws SystemException
Throws:
SystemException

getSubfolderIds

@Deprecated
public static void getSubfolderIds(List<Long> folderIds,
                                              long groupId,
                                              long folderId)
                            throws SystemException
Deprecated. As of 7.0.0, replaced by getSubfolderIds(List, long, long, boolean)

Throws:
SystemException

getSubfolderIds

public static void getSubfolderIds(List<Long> folderIds,
                                   long groupId,
                                   long folderId,
                                   boolean recurse)
                            throws SystemException
Throws:
SystemException

getSubfolderIds

public static List<Long> getSubfolderIds(long groupId,
                                         long folderId,
                                         boolean recurse)
                                  throws SystemException
Throws:
SystemException

moveFolder

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

moveFolderFromTrash

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

moveFolderToTrash

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

restoreFolderFromTrash

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

subscribeFolder

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

unsubscribeFolder

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

updateFolder

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

getService

public static BookmarksFolderService getService()

setService

public void setService(BookmarksFolderService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5