Liferay 6.2-ce-ga5

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

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 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

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

addEntry

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

deleteEntry

public static void deleteEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getEntries

public static List<BookmarksEntry> getEntries(long groupId,
                                              long folderId,
                                              int start,
                                              int end)
                                       throws SystemException
Throws:
SystemException

getEntries

public static List<BookmarksEntry> getEntries(long groupId,
                                              long folderId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

getEntriesCount

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

getEntriesCount

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

getEntry

public static BookmarksEntry getEntry(long entryId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFoldersEntriesCount

public static int getFoldersEntriesCount(long groupId,
                                         List<Long> folderIds)
                                  throws SystemException
Throws:
SystemException

getGroupEntries

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

getGroupEntries

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

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

getGroupEntriesCount

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

moveEntry

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

moveEntryFromTrash

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

moveEntryToTrash

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

openEntry

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

openEntry

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

restoreEntryFromTrash

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

search

public static Hits search(long groupId,
                          long creatorUserId,
                          int status,
                          int start,
                          int end)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

subscribeEntry

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

unsubscribeEntry

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

updateEntry

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

getService

public static BookmarksEntryService getService()

setService

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


Liferay 6.2-ce-ga5