com.liferay.portlet.bookmarks.service
Interface BookmarksEntryService
- All Known Implementing Classes:
- BookmarksEntryServiceBaseImpl, BookmarksEntryServiceImpl, BookmarksEntryServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface BookmarksEntryService
The interface for the bookmarks entry remote service.
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:
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)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end)
|
List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getEntriesCount(long groupId,
long folderId)
|
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)
|
int |
getGroupEntriesCount(long groupId)
|
int |
getGroupEntriesCount(long groupId,
long userId)
|
BookmarksEntry |
openEntry(long entryId)
|
BookmarksEntry |
updateEntry(long entryId,
long groupId,
long folderId,
String name,
String url,
String description,
ServiceContext serviceContext)
|
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
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 SystemException
- Throws:
SystemException
getGroupEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<BookmarksEntry> getGroupEntries(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupEntriesCount(long groupId)
throws SystemException
- Throws:
SystemException
getGroupEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getGroupEntriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
openEntry
BookmarksEntry openEntry(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