Class BookmarksEntryServiceUtil

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

public class BookmarksEntryServiceUtil extends Object
Provides the remote service utility for BookmarksEntry. This utility wraps com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl 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

    • BookmarksEntryServiceUtil

      public BookmarksEntryServiceUtil()
  • Method Details

    • addEntry

      public static BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteEntry

      public static void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getEntries

      public static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
    • getEntries

      public static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator)
    • getEntriesCount

      public static int getEntriesCount(long groupId, long folderId)
    • getEntriesCount

      public static int getEntriesCount(long groupId, long folderId, int status)
    • getEntry

      public static BookmarksEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFoldersEntriesCount

      public static int getFoldersEntriesCount(long groupId, List<Long> folderIds)
    • getGroupEntries

      public static List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupEntries

      public static List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupEntries

      public static List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupEntriesCount

      public static int getGroupEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupEntriesCount

      public static int getGroupEntriesCount(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupEntriesCount

      public static int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • moveEntry

      public static BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveEntryFromTrash

      public static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveEntryToTrash

      public static BookmarksEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • openEntry

      public static BookmarksEntry openEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • openEntry

      public static BookmarksEntry openEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreEntryFromTrash

      public static void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public static com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribeEntry

      public static void subscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribeEntry

      public static void unsubscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateEntry

      public static BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, 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 BookmarksEntryService getService()