@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface BookmarksEntryService extends BaseService
BookmarksEntryServiceUtil
Modifier and Type | Method and Description |
---|---|
BookmarksEntry |
addEntry(long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
void |
deleteEntry(long entryId) |
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end) |
java.util.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,
java.util.List<java.lang.Long> folderIds) |
java.util.List<BookmarksEntry> |
getGroupEntries(long groupId,
int start,
int end) |
java.util.List<BookmarksEntry> |
getGroupEntries(long groupId,
long userId,
int start,
int end) |
java.util.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) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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 |
subscribeEntry(long entryId) |
void |
unsubscribeEntry(long entryId) |
BookmarksEntry |
updateEntry(long entryId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
BookmarksEntry addEntry(long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalException
void deleteEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator<BookmarksEntry> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(long groupId, long folderId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getEntriesCount(long groupId, long folderId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) BookmarksEntry getEntry(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, long userId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws PortalException
PortalException
java.lang.String getOSGiServiceIdentifier()
BookmarksEntry moveEntry(long entryId, long parentFolderId) throws PortalException
PortalException
BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws PortalException
PortalException
BookmarksEntry moveEntryToTrash(long entryId) throws PortalException
PortalException
BookmarksEntry openEntry(BookmarksEntry entry) throws PortalException
PortalException
BookmarksEntry openEntry(long entryId) throws PortalException
PortalException
void restoreEntryFromTrash(long entryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Hits search(long groupId, long creatorUserId, int status, int start, int end) throws PortalException
PortalException
void subscribeEntry(long entryId) throws PortalException
PortalException
void unsubscribeEntry(long entryId) throws PortalException
PortalException
BookmarksEntry updateEntry(long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException
PortalException