Liferay 7.0-ce-m2

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 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, BookmarksFolderServiceBaseImpl, BookmarksFolderServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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

addFolder

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

deleteFolder

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

deleteFolder

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

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getFolder

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

getFolderIds

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

getFolders

public static List<BookmarksFolder> getFolders(long groupId)

getFolders

public static List<BookmarksFolder> getFolders(long groupId,
                                               long parentFolderId)

getFolders

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

getFolders

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

getFoldersAndEntries

public static List<Object> getFoldersAndEntries(long groupId,
                                                long folderId)

getFoldersAndEntries

public static List<Object> getFoldersAndEntries(long groupId,
                                                long folderId,
                                                int status)

getFoldersAndEntries

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

getFoldersAndEntriesCount

public static int getFoldersAndEntriesCount(long groupId,
                                            long folderId)

getFoldersAndEntriesCount

public static int getFoldersAndEntriesCount(long groupId,
                                            long folderId,
                                            int status)

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId)

getFoldersCount

public static int getFoldersCount(long groupId,
                                  long parentFolderId,
                                  int status)

getSubfolderIds

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


getSubfolderIds

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

getSubfolderIds

public static List<Long> getSubfolderIds(long groupId,
                                         long folderId,
                                         boolean recurse)

moveFolder

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

moveFolderFromTrash

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

moveFolderToTrash

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

restoreFolderFromTrash

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribeFolder

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

unsubscribeFolder

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

updateFolder

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

getService

public static BookmarksFolderService getService()

setService

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


Liferay 7.0-ce-m2