Liferay 6.1.2-ce-ga3

com.liferay.portlet.bookmarks.service
Class BookmarksEntryServiceUtil

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

public class BookmarksEntryServiceUtil
extends Object

The utility for the bookmarks entry remote service. This utility wraps BookmarksEntryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. 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 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 int getGroupEntriesCount(long groupId)
           
static int getGroupEntriesCount(long groupId, long userId)
           
static BookmarksEntryService getService()
           
static BookmarksEntry openEntry(long entryId)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(BookmarksEntryService service)
          Deprecated.  
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

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 SystemException
Throws:
SystemException

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

openEntry

public static BookmarksEntry openEntry(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. 


Liferay 6.1.2-ce-ga3