@ProviderType public class BookmarksFolderLocalServiceWrapper extends java.lang.Object implements BookmarksFolderLocalService, com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>
BookmarksFolderLocalService
.BookmarksFolderLocalService
Constructor and Description |
---|
BookmarksFolderLocalServiceWrapper(BookmarksFolderLocalService bookmarksFolderLocalService) |
Modifier and Type | Method and Description |
---|---|
BookmarksFolder |
addBookmarksFolder(BookmarksFolder bookmarksFolder)
Adds the bookmarks folder to the database.
|
BookmarksFolder |
addFolder(long userId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
BookmarksFolder |
createBookmarksFolder(long folderId)
Creates a new bookmarks folder with the primary key.
|
BookmarksFolder |
deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
Deletes the bookmarks folder from the database.
|
BookmarksFolder |
deleteBookmarksFolder(long folderId)
Deletes the bookmarks folder with the primary key from the database.
|
BookmarksFolder |
deleteFolder(BookmarksFolder folder) |
BookmarksFolder |
deleteFolder(BookmarksFolder folder,
boolean includeTrashedEntries) |
BookmarksFolder |
deleteFolder(long folderId) |
BookmarksFolder |
deleteFolder(long folderId,
boolean includeTrashedEntries) |
void |
deleteFolders(long groupId) |
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.
|
BookmarksFolder |
fetchBookmarksFolder(long folderId) |
BookmarksFolder |
fetchBookmarksFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the bookmarks folder matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
BookmarksFolder |
getBookmarksFolder(long folderId)
Returns the bookmarks folder with the primary key.
|
BookmarksFolder |
getBookmarksFolderByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the bookmarks folder matching the UUID and group.
|
java.util.List<BookmarksFolder> |
getBookmarksFolders(int start,
int end)
Returns a range of all the bookmarks folders.
|
java.util.List<BookmarksFolder> |
getBookmarksFoldersByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the bookmarks folders matching the UUID and company.
|
java.util.List<BookmarksFolder> |
getBookmarksFoldersByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator)
Returns a range of bookmarks folders matching the UUID and company.
|
int |
getBookmarksFoldersCount()
Returns the number of bookmarks folders.
|
java.util.List<BookmarksFolder> |
getCompanyFolders(long companyId,
int start,
int end) |
int |
getCompanyFoldersCount(long companyId) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
BookmarksFolder |
getFolder(long folderId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int start,
int end) |
java.util.List<BookmarksFolder> |
getFolders(long groupId,
long parentFolderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getFoldersAndEntries(long groupId,
long folderId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getFoldersAndEntriesCount(long groupId,
long folderId,
int status) |
int |
getFoldersCount(long groupId,
long parentFolderId) |
int |
getFoldersCount(long groupId,
long parentFolderId,
int status) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.util.List<BookmarksFolder> |
getNoAssetFolders() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
void |
getSubfolderIds(java.util.List<java.lang.Long> folderIds,
long groupId,
long folderId) |
BookmarksFolderLocalService |
getWrappedService() |
void |
mergeFolders(long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolder(long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolderFromTrash(long userId,
long folderId,
long parentFolderId) |
BookmarksFolder |
moveFolderToTrash(long userId,
long folderId) |
void |
rebuildTree(long companyId) |
void |
rebuildTree(long companyId,
long parentFolderId,
java.lang.String parentTreePath,
boolean reindex) |
BookmarksFolder |
restoreFolderFromTrash(long userId,
long folderId) |
void |
setWrappedService(BookmarksFolderLocalService bookmarksFolderLocalService) |
void |
subscribeFolder(long userId,
long groupId,
long folderId) |
void |
unsubscribeFolder(long userId,
long groupId,
long folderId) |
void |
updateAsset(long userId,
BookmarksFolder folder,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds,
java.lang.Double priority) |
BookmarksFolder |
updateBookmarksFolder(BookmarksFolder bookmarksFolder)
Updates the bookmarks folder in the database or adds it if it does not yet exist.
|
BookmarksFolder |
updateFolder(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentFolder,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateFolder(long, long, long, String, String,
ServiceContext) and mergeFolders(long, long) |
BookmarksFolder |
updateFolder(long userId,
long folderId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
BookmarksFolder |
updateStatus(long userId,
BookmarksFolder folder,
int status) |
public BookmarksFolderLocalServiceWrapper(BookmarksFolderLocalService bookmarksFolderLocalService)
public BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
addBookmarksFolder
in interface BookmarksFolderLocalService
bookmarksFolder
- the bookmarks folderpublic BookmarksFolder addFolder(long userId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder createBookmarksFolder(long folderId)
createBookmarksFolder
in interface BookmarksFolderLocalService
folderId
- the primary key for the new bookmarks folderpublic BookmarksFolder deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
deleteBookmarksFolder
in interface BookmarksFolderLocalService
bookmarksFolder
- the bookmarks folderpublic BookmarksFolder deleteBookmarksFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
deleteBookmarksFolder
in interface BookmarksFolderLocalService
folderId
- the primary key of the bookmarks folderPortalException
- if a bookmarks folder with the primary key could not be foundpublic BookmarksFolder deleteFolder(BookmarksFolder folder) throws com.liferay.portal.kernel.exception.PortalException
deleteFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder deleteFolder(BookmarksFolder folder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
deleteFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
deleteFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
deleteFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException
deleteFolders
in interface BookmarksFolderLocalService
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 BookmarksFolderLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface BookmarksFolderLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface BookmarksFolderLocalService
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.BookmarksFolderModelImpl
. 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 BookmarksFolderLocalService
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.BookmarksFolderModelImpl
. 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 BookmarksFolderLocalService
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 BookmarksFolderLocalService
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 BookmarksFolderLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic BookmarksFolder fetchBookmarksFolder(long folderId)
fetchBookmarksFolder
in interface BookmarksFolderLocalService
public BookmarksFolder fetchBookmarksFolderByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchBookmarksFolderByUuidAndGroupId
in interface BookmarksFolderLocalService
uuid
- the bookmarks folder's UUIDgroupId
- the primary key of the groupnull
if a matching bookmarks folder could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface BookmarksFolderLocalService
public BookmarksFolder getBookmarksFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
getBookmarksFolder
in interface BookmarksFolderLocalService
folderId
- the primary key of the bookmarks folderPortalException
- if a bookmarks folder with the primary key could not be foundpublic BookmarksFolder getBookmarksFolderByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getBookmarksFolderByUuidAndGroupId
in interface BookmarksFolderLocalService
uuid
- the bookmarks folder's UUIDgroupId
- the primary key of the groupPortalException
- if a matching bookmarks folder could not be foundpublic java.util.List<BookmarksFolder> getBookmarksFolders(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.BookmarksFolderModelImpl
. 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.
getBookmarksFolders
in interface BookmarksFolderLocalService
start
- the lower bound of the range of bookmarks foldersend
- the upper bound of the range of bookmarks folders (not inclusive)public java.util.List<BookmarksFolder> getBookmarksFoldersByUuidAndCompanyId(java.lang.String uuid, long companyId)
getBookmarksFoldersByUuidAndCompanyId
in interface BookmarksFolderLocalService
uuid
- the UUID of the bookmarks folderscompanyId
- the primary key of the companypublic java.util.List<BookmarksFolder> getBookmarksFoldersByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksFolder> orderByComparator)
getBookmarksFoldersByUuidAndCompanyId
in interface BookmarksFolderLocalService
uuid
- the UUID of the bookmarks folderscompanyId
- the primary key of the companystart
- the lower bound of the range of bookmarks foldersend
- the upper bound of the range of bookmarks folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getBookmarksFoldersCount()
getBookmarksFoldersCount
in interface BookmarksFolderLocalService
public java.util.List<BookmarksFolder> getCompanyFolders(long companyId, int start, int end)
getCompanyFolders
in interface BookmarksFolderLocalService
public int getCompanyFoldersCount(long companyId)
getCompanyFoldersCount
in interface BookmarksFolderLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface BookmarksFolderLocalService
public BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
getFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<BookmarksFolder> getFolders(long groupId)
getFolders
in interface BookmarksFolderLocalService
public java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
getFolders
in interface BookmarksFolderLocalService
public java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
getFolders
in interface BookmarksFolderLocalService
public java.util.List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
getFolders
in interface BookmarksFolderLocalService
public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId)
getFoldersAndEntries
in interface BookmarksFolderLocalService
public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status)
getFoldersAndEntries
in interface BookmarksFolderLocalService
public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
getFoldersAndEntries
in interface BookmarksFolderLocalService
public java.util.List<java.lang.Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getFoldersAndEntries
in interface BookmarksFolderLocalService
public int getFoldersAndEntriesCount(long groupId, long folderId, int status)
getFoldersAndEntriesCount
in interface BookmarksFolderLocalService
public int getFoldersCount(long groupId, long parentFolderId)
getFoldersCount
in interface BookmarksFolderLocalService
public int getFoldersCount(long groupId, long parentFolderId, int status)
getFoldersCount
in interface BookmarksFolderLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface BookmarksFolderLocalService
public java.util.List<BookmarksFolder> getNoAssetFolders()
getNoAssetFolders
in interface BookmarksFolderLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface BookmarksFolderLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface BookmarksFolderLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public void getSubfolderIds(java.util.List<java.lang.Long> folderIds, long groupId, long folderId)
getSubfolderIds
in interface BookmarksFolderLocalService
public void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
mergeFolders
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
moveFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
moveFolderFromTrash
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder moveFolderToTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
moveFolderToTrash
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException
rebuildTree
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long companyId, long parentFolderId, java.lang.String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException
rebuildTree
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
restoreFolderFromTrash
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void subscribeFolder(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
subscribeFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeFolder(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
unsubscribeFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public void updateAsset(long userId, BookmarksFolder folder, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds, java.lang.Double priority) throws com.liferay.portal.kernel.exception.PortalException
updateAsset
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
updateBookmarksFolder
in interface BookmarksFolderLocalService
bookmarksFolder
- the bookmarks folder@Deprecated public BookmarksFolder updateFolder(long userId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder(long, long, long, String, String,
ServiceContext)
and mergeFolders(long, long)
updateFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder updateFolder(long userId, long folderId, long parentFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateFolder
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolder updateStatus(long userId, BookmarksFolder folder, int status) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface BookmarksFolderLocalService
com.liferay.portal.kernel.exception.PortalException
public BookmarksFolderLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>
public void setWrappedService(BookmarksFolderLocalService bookmarksFolderLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>