Package com.liferay.bookmarks.service
Interface BookmarksEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
BookmarksEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BookmarksEntryService
extends com.liferay.portal.kernel.service.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:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddEntry(long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteEntry(long entryId) getEntries(long groupId, long folderId, int start, int end) getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) intgetEntriesCount(long groupId, long folderId) intgetEntriesCount(long groupId, long folderId, int status) getEntry(long entryId) intgetFoldersEntriesCount(long groupId, List<Long> folderIds) getGroupEntries(long groupId, int start, int end) getGroupEntries(long groupId, long userId, int start, int end) getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) intgetGroupEntriesCount(long groupId) intgetGroupEntriesCount(long groupId, long userId) intgetGroupEntriesCount(long groupId, long userId, long rootFolderId) Returns the OSGi service identifier.moveEntry(long entryId, long parentFolderId) moveEntryFromTrash(long entryId, long parentFolderId) moveEntryToTrash(long entryId) openEntry(long entryId) openEntry(BookmarksEntry entry) voidrestoreEntryFromTrash(long entryId) com.liferay.portal.kernel.search.Hitssearch(long groupId, long creatorUserId, int status, int start, int end) voidsubscribeEntry(long entryId) voidunsubscribeEntry(long entryId) updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addEntry
BookmarksEntry addEntry(long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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, com.liferay.portal.kernel.util.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 com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFoldersEntriesCount
-
getGroupEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<BookmarksEntry> getGroupEntries(long groupId, long userId, long rootFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupEntriesCount(long groupId, long userId, long rootFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
moveEntry
BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryFromTrash
BookmarksEntry moveEntryFromTrash(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryToTrash
BookmarksEntry moveEntryToTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
openEntry
BookmarksEntry openEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
openEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreEntryFromTrash
void restoreEntryFromTrash(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.Hits search(long groupId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeEntry
void subscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeEntry
void unsubscribeEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateEntry
BookmarksEntry updateEntry(long entryId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-