@ProviderType public class BookmarksEntryLocalServiceWrapper extends java.lang.Object implements BookmarksEntryLocalService, ServiceWrapper<BookmarksEntryLocalService>
BookmarksEntryLocalService.BookmarksEntryLocalService| Constructor and Description |
|---|
BookmarksEntryLocalServiceWrapper(BookmarksEntryLocalService bookmarksEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
BookmarksEntry |
addBookmarksEntry(BookmarksEntry bookmarksEntry)
Adds the bookmarks entry to the database.
|
BookmarksEntry |
addEntry(long userId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
BookmarksEntry |
createBookmarksEntry(long entryId)
Creates a new bookmarks entry with the primary key.
|
BookmarksEntry |
deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
Deletes the bookmarks entry from the database.
|
BookmarksEntry |
deleteBookmarksEntry(long entryId)
Deletes the bookmarks entry with the primary key from the database.
|
void |
deleteEntries(long groupId,
long folderId) |
void |
deleteEntries(long groupId,
long folderId,
boolean includeTrashedEntries) |
BookmarksEntry |
deleteEntry(BookmarksEntry entry) |
BookmarksEntry |
deleteEntry(long entryId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
BookmarksEntry |
fetchBookmarksEntry(long entryId) |
BookmarksEntry |
fetchBookmarksEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the bookmarks entry with the matching UUID and company.
|
BookmarksEntry |
fetchBookmarksEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the bookmarks entry matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<BookmarksEntry> |
getBookmarksEntries(int start,
int end)
Returns a range of all the bookmarks entries.
|
int |
getBookmarksEntriesCount()
Returns the number of bookmarks entries.
|
BookmarksEntry |
getBookmarksEntry(long entryId)
Returns the bookmarks entry with the primary key.
|
BookmarksEntry |
getBookmarksEntryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the bookmarks entry with the matching UUID and company.
|
BookmarksEntry |
getBookmarksEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the bookmarks entry matching the UUID and group.
|
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end) |
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int status,
int start,
int end) |
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator) |
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end,
OrderByComparator 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) |
int |
getGroupEntriesCount(long groupId) |
int |
getGroupEntriesCount(long groupId,
long userId) |
java.util.List<BookmarksEntry> |
getNoAssetEntries() |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
BookmarksEntryLocalService |
getWrappedBookmarksEntryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
BookmarksEntryLocalService |
getWrappedService() |
BookmarksEntry |
moveEntry(long entryId,
long parentFolderId) |
BookmarksEntry |
moveEntryFromTrash(long userId,
long entryId,
long parentFolderId) |
BookmarksEntry |
moveEntryToTrash(long userId,
BookmarksEntry entry) |
BookmarksEntry |
moveEntryToTrash(long userId,
long entryId) |
BookmarksEntry |
openEntry(long userId,
BookmarksEntry entry) |
BookmarksEntry |
openEntry(long userId,
long entryId) |
void |
rebuildTree(long companyId) |
BookmarksEntry |
restoreEntryFromTrash(long userId,
long entryId) |
Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedBookmarksEntryLocalService(BookmarksEntryLocalService bookmarksEntryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService) |
void |
setWrappedService(BookmarksEntryLocalService bookmarksEntryLocalService) |
void |
subscribeEntry(long userId,
long entryId) |
void |
unsubscribeEntry(long userId,
long entryId) |
void |
updateAsset(long userId,
BookmarksEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
BookmarksEntry |
updateBookmarksEntry(BookmarksEntry bookmarksEntry)
Updates the bookmarks entry in the database or adds it if it does not yet exist.
|
BookmarksEntry |
updateEntry(long userId,
long entryId,
long groupId,
long folderId,
java.lang.String name,
java.lang.String url,
java.lang.String description,
ServiceContext serviceContext) |
BookmarksEntry |
updateStatus(long userId,
BookmarksEntry entry,
int status) |
public BookmarksEntryLocalServiceWrapper(BookmarksEntryLocalService bookmarksEntryLocalService)
public BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry) throws SystemException
addBookmarksEntry in interface BookmarksEntryLocalServicebookmarksEntry - the bookmarks entrySystemException - if a system exception occurredpublic BookmarksEntry createBookmarksEntry(long entryId)
createBookmarksEntry in interface BookmarksEntryLocalServiceentryId - the primary key for the new bookmarks entrypublic BookmarksEntry deleteBookmarksEntry(long entryId) throws PortalException, SystemException
deleteBookmarksEntry in interface BookmarksEntryLocalServiceentryId - the primary key of the bookmarks entryPortalException - if a bookmarks entry with the primary key could not be foundSystemException - if a system exception occurredpublic BookmarksEntry deleteBookmarksEntry(BookmarksEntry bookmarksEntry) throws SystemException
deleteBookmarksEntry in interface BookmarksEntryLocalServicebookmarksEntry - the bookmarks entrySystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface BookmarksEntryLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface BookmarksEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BookmarksEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface BookmarksEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BookmarksEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface BookmarksEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface BookmarksEntryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface BookmarksEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic BookmarksEntry fetchBookmarksEntry(long entryId) throws SystemException
fetchBookmarksEntry in interface BookmarksEntryLocalServiceSystemExceptionpublic BookmarksEntry fetchBookmarksEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchBookmarksEntryByUuidAndCompanyId in interface BookmarksEntryLocalServiceuuid - the bookmarks entry's UUIDcompanyId - the primary key of the companynull if a matching bookmarks entry could not be foundSystemException - if a system exception occurredpublic BookmarksEntry fetchBookmarksEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchBookmarksEntryByUuidAndGroupId in interface BookmarksEntryLocalServiceuuid - the bookmarks entry's UUIDgroupId - the primary key of the groupnull if a matching bookmarks entry could not be foundSystemException - if a system exception occurredpublic BookmarksEntry getBookmarksEntry(long entryId) throws PortalException, SystemException
getBookmarksEntry in interface BookmarksEntryLocalServiceentryId - the primary key of the bookmarks entryPortalException - if a bookmarks entry with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry getBookmarksEntryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getBookmarksEntryByUuidAndCompanyId in interface BookmarksEntryLocalServiceuuid - the bookmarks entry's UUIDcompanyId - the primary key of the companyPortalException - if a matching bookmarks entry could not be foundSystemException - if a system exception occurredpublic BookmarksEntry getBookmarksEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getBookmarksEntryByUuidAndGroupId in interface BookmarksEntryLocalServiceuuid - the bookmarks entry's UUIDgroupId - the primary key of the groupPortalException - if a matching bookmarks entry could not be foundSystemException - if a system exception occurredpublic java.util.List<BookmarksEntry> getBookmarksEntries(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from BookmarksEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getBookmarksEntries in interface BookmarksEntryLocalServicestart - the lower bound of the range of bookmarks entriesend - the upper bound of the range of bookmarks entries (not inclusive)SystemException - if a system exception occurredpublic int getBookmarksEntriesCount()
throws SystemException
getBookmarksEntriesCount in interface BookmarksEntryLocalServiceSystemException - if a system exception occurredpublic BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry) throws SystemException
updateBookmarksEntry in interface BookmarksEntryLocalServicebookmarksEntry - the bookmarks entrySystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface BookmarksEntryLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface BookmarksEntryLocalServicebeanIdentifier - the Spring bean ID for this beanpublic BookmarksEntry addEntry(long userId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
addEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void deleteEntries(long groupId,
long folderId)
throws PortalException,
SystemException
deleteEntries in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void deleteEntries(long groupId,
long folderId,
boolean includeTrashedEntries)
throws PortalException,
SystemException
deleteEntries in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry deleteEntry(BookmarksEntry entry) throws PortalException, SystemException
deleteEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry deleteEntry(long entryId) throws PortalException, SystemException
deleteEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end) throws SystemException
getEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int status, int start, int end) throws SystemException
getEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
getEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic int getEntriesCount(long groupId,
long folderId)
throws SystemException
getEntriesCount in interface BookmarksEntryLocalServiceSystemExceptionpublic int getEntriesCount(long groupId,
long folderId,
int status)
throws SystemException
getEntriesCount in interface BookmarksEntryLocalServiceSystemExceptionpublic BookmarksEntry getEntry(long entryId) throws PortalException, SystemException
getEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic int getFoldersEntriesCount(long groupId,
java.util.List<java.lang.Long> folderIds)
throws SystemException
getFoldersEntriesCount in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end) throws SystemException
getGroupEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end) throws SystemException
getGroupEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId)
throws SystemException
getGroupEntriesCount in interface BookmarksEntryLocalServiceSystemExceptionpublic int getGroupEntriesCount(long groupId,
long userId)
throws SystemException
getGroupEntriesCount in interface BookmarksEntryLocalServiceSystemExceptionpublic java.util.List<BookmarksEntry> getNoAssetEntries() throws SystemException
getNoAssetEntries in interface BookmarksEntryLocalServiceSystemExceptionpublic BookmarksEntry moveEntry(long entryId, long parentFolderId) throws PortalException, SystemException
moveEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry moveEntryFromTrash(long userId, long entryId, long parentFolderId) throws PortalException, SystemException
moveEntryFromTrash in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry moveEntryToTrash(long userId, BookmarksEntry entry) throws PortalException, SystemException
moveEntryToTrash in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry moveEntryToTrash(long userId, long entryId) throws PortalException, SystemException
moveEntryToTrash in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry openEntry(long userId, BookmarksEntry entry) throws SystemException
openEntry in interface BookmarksEntryLocalServiceSystemExceptionpublic BookmarksEntry openEntry(long userId, long entryId) throws PortalException, SystemException
openEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void rebuildTree(long companyId)
throws SystemException
rebuildTree in interface BookmarksEntryLocalServiceSystemExceptionpublic BookmarksEntry restoreEntryFromTrash(long userId, long entryId) throws PortalException, SystemException
restoreEntryFromTrash in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws PortalException, SystemException
search in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void subscribeEntry(long userId,
long entryId)
throws PortalException,
SystemException
subscribeEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void unsubscribeEntry(long userId,
long entryId)
throws PortalException,
SystemException
unsubscribeEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic void updateAsset(long userId,
BookmarksEntry entry,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry updateEntry(long userId, long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
updateEntry in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntry updateStatus(long userId, BookmarksEntry entry, int status) throws PortalException, SystemException
updateStatus in interface BookmarksEntryLocalServicePortalExceptionSystemExceptionpublic BookmarksEntryLocalService getWrappedBookmarksEntryLocalService()
getWrappedService()public void setWrappedBookmarksEntryLocalService(BookmarksEntryLocalService bookmarksEntryLocalService)
setWrappedService(com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService)public BookmarksEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<BookmarksEntryLocalService>public void setWrappedService(BookmarksEntryLocalService bookmarksEntryLocalService)
setWrappedService in interface ServiceWrapper<BookmarksEntryLocalService>