Liferay 6.2.0

com.liferay.portlet.bookmarks.service
Interface BookmarksEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BookmarksEntryServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksEntryService
extends BaseService

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

Method Summary
abstract  BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
abstract  void deleteEntry(long entryId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
           
abstract  List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
           
abstract  int getEntriesCount(long groupId, long folderId)
           
abstract  int getEntriesCount(long groupId, long folderId, int status)
           
abstract  BookmarksEntry getEntry(long entryId)
           
abstract  int getFoldersEntriesCount(long groupId, List<Long> folderIds)
           
abstract  List<BookmarksEntry> getGroupEntries(long groupId, int start, int end)
           
abstract  List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
           
abstract  List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end)
           
abstract  int getGroupEntriesCount(long groupId)
           
abstract  int getGroupEntriesCount(long groupId, long userId)
           
abstract  int getGroupEntriesCount(long groupId, long userId, long rootFolderId)
           
abstract  BookmarksEntry moveEntry(long entryId, long parentFolderId)
           
abstract  BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId)
           
abstract  BookmarksEntry moveEntryToTrash(long entryId)
           
abstract  BookmarksEntry openEntry(BookmarksEntry entry)
           
abstract  BookmarksEntry openEntry(long entryId)
           
abstract  void restoreEntryFromTrash(long entryId)
           
abstract  Hits search(long groupId, long creatorUserId, int status, int start, int end)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void subscribeEntry(long entryId)
           
abstract  void unsubscribeEntry(long entryId)
           
abstract  BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addEntry

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

deleteEntry

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

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksEntry> getEntries(long groupId,
                                                                         long folderId,
                                                                         int start,
                                                                         int end)
                                throws SystemException
Throws:
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksEntry> getEntries(long groupId,
                                                                         long folderId,
                                                                         int start,
                                                                         int end,
                                                                         OrderByComparator orderByComparator)
                                throws SystemException
Throws:
SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(long groupId,
                                                             long folderId)
                    throws SystemException
Throws:
SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(long groupId,
                                                             long folderId,
                                                             int status)
                    throws SystemException
Throws:
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
BookmarksEntry getEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getFoldersEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getFoldersEntriesCount(long groupId,
                                                                    List<Long> folderIds)
                           throws SystemException
Throws:
SystemException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksEntry> getGroupEntries(long groupId,
                                                                              int start,
                                                                              int end)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksEntry> getGroupEntries(long groupId,
                                                                              long userId,
                                                                              int start,
                                                                              int end)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getGroupEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<BookmarksEntry> getGroupEntries(long groupId,
                                                                              long userId,
                                                                              long rootFolderId,
                                                                              int start,
                                                                              int end)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId,
                                                                  long userId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getGroupEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupEntriesCount(long groupId,
                                                                  long userId,
                                                                  long rootFolderId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

moveEntry

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

moveEntryFromTrash

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

moveEntryToTrash

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

openEntry

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

openEntry

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

restoreEntryFromTrash

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

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long groupId,
                                                     long creatorUserId,
                                                     int status,
                                                     int start,
                                                     int end)
            throws PortalException,
                   SystemException
Throws:
PortalException
SystemException

subscribeEntry

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

unsubscribeEntry

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

updateEntry

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

Liferay 6.2.0