Class BookmarksFolderServiceUtil

java.lang.Object
com.liferay.bookmarks.service.BookmarksFolderServiceUtil

public class BookmarksFolderServiceUtil extends Object
Provides the remote service utility for BookmarksFolder. This utility wraps com.liferay.bookmarks.service.impl.BookmarksFolderServiceImpl and is an 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:
Generated:
  • Constructor Details

    • BookmarksFolderServiceUtil

      public BookmarksFolderServiceUtil()
  • Method Details

    • addFolder

      public static BookmarksFolder addFolder(long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public static void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public static void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolder

      public static BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolderIds

      public static List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.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)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • 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)
    • mergeFolders

      public static void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolder

      public static BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderFromTrash

      public static BookmarksFolder moveFolderFromTrash(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderToTrash

      public static BookmarksFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreFolderFromTrash

      public static void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribeFolder

      public static void subscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribeFolder

      public static void unsubscribeFolder(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolder

      public static BookmarksFolder updateFolder(long folderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static BookmarksFolderService getService()