@ProviderType public class BookmarksEntryLocalServiceWrapper extends java.lang.Object implements BookmarksEntryLocalService, com.liferay.portal.kernel.service.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,
com.liferay.portal.kernel.service.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) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
BookmarksEntry |
fetchBookmarksEntry(long entryId) |
BookmarksEntry |
fetchBookmarksEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the bookmarks entry matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<BookmarksEntry> |
getBookmarksEntries(int start,
int end)
Returns a range of all the bookmarks entries.
|
java.util.List<BookmarksEntry> |
getBookmarksEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the bookmarks entries matching the UUID and company.
|
java.util.List<BookmarksEntry> |
getBookmarksEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator)
Returns a range of bookmarks entries matching the UUID and company.
|
int |
getBookmarksEntriesCount()
Returns the number of bookmarks entries.
|
BookmarksEntry |
getBookmarksEntry(long entryId)
Returns the bookmarks entry with the primary key.
|
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,
com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) |
java.util.List<BookmarksEntry> |
getEntries(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) |
int |
getEntriesCount(long groupId,
long folderId) |
int |
getEntriesCount(long groupId,
long folderId,
int status) |
BookmarksEntry |
getEntry(long entryId) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
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) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<BookmarksEntry> |
getNoAssetEntries() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
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) |
com.liferay.portal.kernel.search.Hits |
search(long groupId,
long userId,
long creatorUserId,
int status,
int start,
int end) |
void |
setTreePaths(long folderId,
java.lang.String treePath,
boolean reindex) |
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,
java.lang.Double priority) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
BookmarksEntry |
updateStatus(long userId,
BookmarksEntry entry,
int status) |
public BookmarksEntryLocalServiceWrapper(BookmarksEntryLocalService bookmarksEntryLocalService)
public BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry)
addBookmarksEntry
in interface BookmarksEntryLocalService
bookmarksEntry
- the bookmarks entrypublic BookmarksEntry addEntry(long userId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry createBookmarksEntry(long entryId)
createBookmarksEntry
in interface BookmarksEntryLocalService
entryId
- the primary key for the new bookmarks entrypublic BookmarksEntry deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
deleteBookmarksEntry
in interface BookmarksEntryLocalService
bookmarksEntry
- the bookmarks entrypublic BookmarksEntry deleteBookmarksEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
deleteBookmarksEntry
in interface BookmarksEntryLocalService
entryId
- the primary key of the bookmarks entryPortalException
- if a bookmarks entry with the primary key could not be foundpublic void deleteEntries(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
deleteEntries
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteEntries(long groupId, long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
deleteEntries
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry deleteEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException
deleteEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
deleteEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface BookmarksEntryLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface BookmarksEntryLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface BookmarksEntryLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
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 com.liferay.bookmarks.model.impl.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 BookmarksEntryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
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 com.liferay.bookmarks.model.impl.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 BookmarksEntryLocalService
dynamicQuery
- 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
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface BookmarksEntryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface BookmarksEntryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic BookmarksEntry fetchBookmarksEntry(long entryId)
fetchBookmarksEntry
in interface BookmarksEntryLocalService
public BookmarksEntry fetchBookmarksEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchBookmarksEntryByUuidAndGroupId
in interface BookmarksEntryLocalService
uuid
- the bookmarks entry's UUIDgroupId
- the primary key of the groupnull
if a matching bookmarks entry could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getBookmarksEntries(int start, int end)
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 com.liferay.bookmarks.model.impl.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 BookmarksEntryLocalService
start
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)public java.util.List<BookmarksEntry> getBookmarksEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getBookmarksEntriesByUuidAndCompanyId
in interface BookmarksEntryLocalService
uuid
- the UUID of the bookmarks entriescompanyId
- the primary key of the companypublic java.util.List<BookmarksEntry> getBookmarksEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator)
getBookmarksEntriesByUuidAndCompanyId
in interface BookmarksEntryLocalService
uuid
- the UUID of the bookmarks entriescompanyId
- the primary key of the companystart
- the lower bound of the range of bookmarks entriesend
- the upper bound of the range of bookmarks entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getBookmarksEntriesCount()
getBookmarksEntriesCount
in interface BookmarksEntryLocalService
public BookmarksEntry getBookmarksEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
getBookmarksEntry
in interface BookmarksEntryLocalService
entryId
- the primary key of the bookmarks entryPortalException
- if a bookmarks entry with the primary key could not be foundpublic BookmarksEntry getBookmarksEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getBookmarksEntryByUuidAndGroupId
in interface BookmarksEntryLocalService
uuid
- the bookmarks entry's UUIDgroupId
- the primary key of the groupPortalException
- if a matching bookmarks entry could not be foundpublic java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end)
getEntries
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int status, int start, int end)
getEntries
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator)
getEntries
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator)
getEntries
in interface BookmarksEntryLocalService
public int getEntriesCount(long groupId, long folderId)
getEntriesCount
in interface BookmarksEntryLocalService
public int getEntriesCount(long groupId, long folderId, int status)
getEntriesCount
in interface BookmarksEntryLocalService
public BookmarksEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
getEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface BookmarksEntryLocalService
public int getFoldersEntriesCount(long groupId, java.util.List<java.lang.Long> folderIds)
getFoldersEntriesCount
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getGroupEntries(long groupId, int start, int end)
getGroupEntries
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getGroupEntries(long groupId, long userId, int start, int end)
getGroupEntries
in interface BookmarksEntryLocalService
public int getGroupEntriesCount(long groupId)
getGroupEntriesCount
in interface BookmarksEntryLocalService
public int getGroupEntriesCount(long groupId, long userId)
getGroupEntriesCount
in interface BookmarksEntryLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface BookmarksEntryLocalService
public java.util.List<BookmarksEntry> getNoAssetEntries()
getNoAssetEntries
in interface BookmarksEntryLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface BookmarksEntryLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface BookmarksEntryLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
moveEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry moveEntryFromTrash(long userId, long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
moveEntryFromTrash
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry moveEntryToTrash(long userId, BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException
moveEntryToTrash
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry moveEntryToTrash(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException
moveEntryToTrash
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry openEntry(long userId, BookmarksEntry entry)
openEntry
in interface BookmarksEntryLocalService
public BookmarksEntry openEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException
openEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException
rebuildTree
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry restoreEntryFromTrash(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException
restoreEntryFromTrash
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.Hits search(long groupId, long userId, long creatorUserId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
search
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void setTreePaths(long folderId, java.lang.String treePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException
setTreePaths
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void subscribeEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException
subscribeEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException
unsubscribeEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public void updateAsset(long userId, BookmarksEntry entry, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds, java.lang.Double priority) throws com.liferay.portal.kernel.exception.PortalException
updateAsset
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry)
updateBookmarksEntry
in interface BookmarksEntryLocalService
bookmarksEntry
- the bookmarks entrypublic BookmarksEntry updateEntry(long userId, long entryId, long groupId, long folderId, java.lang.String name, java.lang.String url, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateEntry
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntry updateStatus(long userId, BookmarksEntry entry, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface BookmarksEntryLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksEntryLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksEntryLocalService>
public void setWrappedService(BookmarksEntryLocalService bookmarksEntryLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksEntryLocalService>