Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service
Class BookmarksEntryServiceUtil

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

@ProviderType
public class BookmarksEntryServiceUtil
extends Object

Provides the remote service utility for BookmarksEntry. This utility wraps com.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl 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:
BookmarksEntryService, com.liferay.portlet.bookmarks.service.base.BookmarksEntryServiceBaseImpl, com.liferay.portlet.bookmarks.service.impl.BookmarksEntryServiceImpl

Constructor Summary
BookmarksEntryServiceUtil()
           
 
Method Summary
static BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
static void deleteEntry(long entryId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
           
static List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator<BookmarksEntry> orderByComparator)
           
static int getEntriesCount(long groupId, long folderId)
           
static int getEntriesCount(long groupId, long folderId, int status)
           
static BookmarksEntry getEntry(long entryId)
           
static int getFoldersEntriesCount(long groupId, List<Long> folderIds)
           
static List<BookmarksEntry> getGroupEntries(long groupId, int start, int end)
           
static List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
           
static List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end)
           
static int getGroupEntriesCount(long groupId)
           
static int getGroupEntriesCount(long groupId, long userId)
           
static int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
           
static BookmarksEntryService getService()
           
static BookmarksEntry moveEntry(long entryId, long parentFolderId)
           
static BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId)
           
static BookmarksEntry moveEntryToTrash(long entryId)
           
static BookmarksEntry openEntry(BookmarksEntry entry)
           
static BookmarksEntry openEntry(long entryId)
           
static void restoreEntryFromTrash(long entryId)
           
static Hits search(long groupId, long creatorUserId, int status, int start, int end)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(BookmarksEntryService service)
          Deprecated. As of 6.2.0
static void subscribeEntry(long entryId)
           
static void unsubscribeEntry(long entryId)
           
static BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookmarksEntryServiceUtil

public BookmarksEntryServiceUtil()
Method Detail

addEntry

public static BookmarksEntry addEntry(long groupId,
                                      long folderId,
                                      String name,
                                      String url,
                                      String description,
                                      ServiceContext serviceContext)
                               throws PortalException
Throws:
PortalException

deleteEntry

public static void deleteEntry(long entryId)
                        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

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,
                                              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 PortalException
Throws:
PortalException

getFoldersEntriesCount

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

getGroupEntries

public static List<BookmarksEntry> getGroupEntries(long groupId,
                                                   int start,
                                                   int end)
                                            throws PortalException
Throws:
PortalException

getGroupEntries

public static List<BookmarksEntry> getGroupEntries(long groupId,
                                                   long userId,
                                                   long rootFolderId,
                                                   int start,
                                                   int end)
                                            throws PortalException
Throws:
PortalException

getGroupEntries

public static List<BookmarksEntry> getGroupEntries(long groupId,
                                                   long userId,
                                                   int start,
                                                   int end)
                                            throws PortalException
Throws:
PortalException

getGroupEntriesCount

public static int getGroupEntriesCount(long groupId)
                                throws PortalException
Throws:
PortalException

getGroupEntriesCount

public static int getGroupEntriesCount(long groupId,
                                       long userId)
                                throws PortalException
Throws:
PortalException

getGroupEntriesCount

public static int getGroupEntriesCount(long groupId,
                                       long userId,
                                       long rootFolderId)
                                throws PortalException
Throws:
PortalException

moveEntry

public static BookmarksEntry moveEntry(long entryId,
                                       long parentFolderId)
                                throws PortalException
Throws:
PortalException

moveEntryFromTrash

public static BookmarksEntry moveEntryFromTrash(long entryId,
                                                long parentFolderId)
                                         throws PortalException
Throws:
PortalException

moveEntryToTrash

public static BookmarksEntry moveEntryToTrash(long entryId)
                                       throws PortalException
Throws:
PortalException

openEntry

public static BookmarksEntry openEntry(BookmarksEntry entry)
                                throws PortalException
Throws:
PortalException

openEntry

public static BookmarksEntry openEntry(long entryId)
                                throws PortalException
Throws:
PortalException

restoreEntryFromTrash

public static void restoreEntryFromTrash(long entryId)
                                  throws PortalException
Throws:
PortalException

search

public static Hits search(long groupId,
                          long creatorUserId,
                          int status,
                          int start,
                          int end)
                   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

subscribeEntry

public static void subscribeEntry(long entryId)
                           throws PortalException
Throws:
PortalException

unsubscribeEntry

public static void unsubscribeEntry(long entryId)
                             throws PortalException
Throws:
PortalException

updateEntry

public static BookmarksEntry updateEntry(long entryId,
                                         long groupId,
                                         long folderId,
                                         String name,
                                         String url,
                                         String description,
                                         ServiceContext serviceContext)
                                  throws PortalException
Throws:
PortalException

getService

public static BookmarksEntryService getService()

setService

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


Liferay 7.0-ce-m2