Liferay 7.0-ce-m2

com.liferay.portlet.bookmarks.service
Interface BookmarksEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BookmarksEntryServiceBaseImpl, BookmarksEntryServiceImpl, BookmarksEntryServiceWrapper

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

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

Method Detail

addEntry

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

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException
Throws:
PortalException

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

getEntries

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

getEntries

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

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(long groupId,
                                                             long folderId)

getEntriesCount

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

getEntry

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

getFoldersEntriesCount

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

getGroupEntries

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

getGroupEntries

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

getGroupEntries

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

getGroupEntriesCount

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

getGroupEntriesCount

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

getGroupEntriesCount

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

moveEntry

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

moveEntryFromTrash

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

moveEntryToTrash

BookmarksEntry moveEntryToTrash(long entryId)
                                throws PortalException
Throws:
PortalException

openEntry

BookmarksEntry openEntry(BookmarksEntry entry)
                         throws PortalException
Throws:
PortalException

openEntry

BookmarksEntry openEntry(long entryId)
                         throws PortalException
Throws:
PortalException

restoreEntryFromTrash

void restoreEntryFromTrash(long entryId)
                           throws PortalException
Throws:
PortalException

search

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

subscribeEntry

void subscribeEntry(long entryId)
                    throws PortalException
Throws:
PortalException

unsubscribeEntry

void unsubscribeEntry(long entryId)
                      throws PortalException
Throws:
PortalException

updateEntry

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

Liferay 7.0-ce-m2