Class BookmarksEntryLocalServiceWrapper
- All Implemented Interfaces:
BookmarksEntryLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<BookmarksEntry>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<BookmarksEntryLocalService>
BookmarksEntryLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionBookmarksEntryLocalServiceWrapper(BookmarksEntryLocalService bookmarksEntryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddBookmarksEntry(BookmarksEntry bookmarksEntry) Adds the bookmarks entry to the database.addEntry(long userId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) createBookmarksEntry(long entryId) Creates a new bookmarks entry with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteBookmarksEntry(long entryId) Deletes the bookmarks entry with the primary key from the database.deleteBookmarksEntry(BookmarksEntry bookmarksEntry) Deletes the bookmarks entry from the database.voiddeleteEntries(long groupId, long folderId) voiddeleteEntries(long groupId, long folderId, boolean includeTrashedEntries) deleteEntry(long entryId) deleteEntry(BookmarksEntry entry) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> 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> 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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.fetchBookmarksEntry(long entryId) fetchBookmarksEntryByUuidAndGroupId(String uuid, long groupId) Returns the bookmarks entry matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?> getBookmarksEntries(int start, int end) Returns a range of all the bookmarks entries.getBookmarksEntriesByUuidAndCompanyId(String uuid, long companyId) Returns all the bookmarks entries matching the UUID and company.getBookmarksEntriesByUuidAndCompanyId(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.intReturns the number of bookmarks entries.getBookmarksEntry(long entryId) Returns the bookmarks entry with the primary key.getBookmarksEntryByUuidAndGroupId(String uuid, long groupId) Returns the bookmarks entry matching the UUID and group.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end) getEntries(long groupId, long folderId, int status, int start, int end) getEntries(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) 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) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) intgetFoldersEntriesCount(long groupId, List<Long> folderIds) getGroupEntries(long groupId, int start, int end) getGroupEntries(long groupId, long userId, int start, int end) intgetGroupEntriesCount(long groupId) intgetGroupEntriesCount(long groupId, long userId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) moveEntry(long entryId, long parentFolderId) moveEntryFromTrash(long userId, long entryId, long parentFolderId) moveEntryToTrash(long userId, long entryId) moveEntryToTrash(long userId, BookmarksEntry entry) openEntry(long userId, long entryId) openEntry(long userId, BookmarksEntry entry) restoreEntryFromTrash(long userId, long entryId) com.liferay.portal.kernel.search.Hitssearch(long groupId, long userId, long creatorUserId, int status, int start, int end) voidsetTreePaths(long folderId, String treePath, boolean reindex) voidsetWrappedService(BookmarksEntryLocalService bookmarksEntryLocalService) voidsubscribeEntry(long userId, long entryId) voidunsubscribeEntry(long userId, long entryId) voidupdateAsset(long userId, BookmarksEntry entry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) updateBookmarksEntry(BookmarksEntry bookmarksEntry) Updates the bookmarks entry in the database or adds it if it does not yet exist.updateEntry(long userId, long entryId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus(long userId, BookmarksEntry entry, int status) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksEntry>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
BookmarksEntryLocalServiceWrapper
public BookmarksEntryLocalServiceWrapper() -
BookmarksEntryLocalServiceWrapper
-
-
Method Details
-
addBookmarksEntry
Adds the bookmarks entry to the database. Also notifies the appropriate model listeners.Important: Inspect BookmarksEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
bookmarksEntry- the bookmarks entry- Returns:
- the bookmarks entry that was added
-
addEntry
public BookmarksEntry addEntry(long userId, long groupId, long folderId, String name, String url, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createBookmarksEntry
Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database.- Specified by:
createBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
entryId- the primary key for the new bookmarks entry- Returns:
- the new bookmarks entry
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceBookmarksEntryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
deleteBookmarksEntry
Deletes the bookmarks entry from the database. Also notifies the appropriate model listeners.Important: Inspect BookmarksEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
bookmarksEntry- the bookmarks entry- Returns:
- the bookmarks entry that was removed
-
deleteBookmarksEntry
public BookmarksEntry deleteBookmarksEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect BookmarksEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
entryId- the primary key of the bookmarks entry- Returns:
- the bookmarks entry that was removed
-
deleteEntries
public void deleteEntries(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteEntriesin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntries
public void deleteEntries(long groupId, long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteEntriesin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
public BookmarksEntry deleteEntry(BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteEntry
public BookmarksEntry deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceBookmarksEntryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceBookmarksEntryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceBookmarksEntryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceBookmarksEntryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceBookmarksEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.bookmarks.model.impl.BookmarksEntryModelImpl.- Specified by:
dynamicQueryin interfaceBookmarksEntryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.bookmarks.model.impl.BookmarksEntryModelImpl.- Specified by:
dynamicQueryin interfaceBookmarksEntryLocalService- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceBookmarksEntryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public 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.- Specified by:
dynamicQueryCountin interfaceBookmarksEntryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchBookmarksEntry
- Specified by:
fetchBookmarksEntryin interfaceBookmarksEntryLocalService
-
fetchBookmarksEntryByUuidAndGroupId
Returns the bookmarks entry matching the UUID and group.- Specified by:
fetchBookmarksEntryByUuidAndGroupIdin interfaceBookmarksEntryLocalService- Parameters:
uuid- the bookmarks entry's UUIDgroupId- the primary key of the group- Returns:
- the matching bookmarks entry, or
nullif a matching bookmarks entry could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceBookmarksEntryLocalService
-
getBookmarksEntries
Returns a range of all the bookmarks entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.bookmarks.model.impl.BookmarksEntryModelImpl.- Specified by:
getBookmarksEntriesin interfaceBookmarksEntryLocalService- Parameters:
start- the lower bound of the range of bookmarks entriesend- the upper bound of the range of bookmarks entries (not inclusive)- Returns:
- the range of bookmarks entries
-
getBookmarksEntriesByUuidAndCompanyId
Returns all the bookmarks entries matching the UUID and company.- Specified by:
getBookmarksEntriesByUuidAndCompanyIdin interfaceBookmarksEntryLocalService- Parameters:
uuid- the UUID of the bookmarks entriescompanyId- the primary key of the company- Returns:
- the matching bookmarks entries, or an empty list if no matches were found
-
getBookmarksEntriesByUuidAndCompanyId
public List<BookmarksEntry> getBookmarksEntriesByUuidAndCompanyId(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.- Specified by:
getBookmarksEntriesByUuidAndCompanyIdin interfaceBookmarksEntryLocalService- Parameters:
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 (optionallynull)- Returns:
- the range of matching bookmarks entries, or an empty list if no matches were found
-
getBookmarksEntriesCount
public int getBookmarksEntriesCount()Returns the number of bookmarks entries.- Specified by:
getBookmarksEntriesCountin interfaceBookmarksEntryLocalService- Returns:
- the number of bookmarks entries
-
getBookmarksEntry
public BookmarksEntry getBookmarksEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException Returns the bookmarks entry with the primary key.- Specified by:
getBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
entryId- the primary key of the bookmarks entry- Returns:
- the bookmarks entry
-
getBookmarksEntryByUuidAndGroupId
public BookmarksEntry getBookmarksEntryByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the bookmarks entry matching the UUID and group.- Specified by:
getBookmarksEntryByUuidAndGroupIdin interfaceBookmarksEntryLocalService- Parameters:
uuid- the bookmarks entry's UUIDgroupId- the primary key of the group- Returns:
- the matching bookmarks entry
-
getEntries
- Specified by:
getEntriesin interfaceBookmarksEntryLocalService
-
getEntries
- Specified by:
getEntriesin interfaceBookmarksEntryLocalService
-
getEntries
public List<BookmarksEntry> getEntries(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) - Specified by:
getEntriesin interfaceBookmarksEntryLocalService
-
getEntries
public List<BookmarksEntry> getEntries(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<BookmarksEntry> orderByComparator) - Specified by:
getEntriesin interfaceBookmarksEntryLocalService
-
getEntriesCount
public int getEntriesCount(long groupId, long folderId) - Specified by:
getEntriesCountin interfaceBookmarksEntryLocalService
-
getEntriesCount
public int getEntriesCount(long groupId, long folderId, int status) - Specified by:
getEntriesCountin interfaceBookmarksEntryLocalService
-
getEntry
public BookmarksEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceBookmarksEntryLocalService
-
getFoldersEntriesCount
- Specified by:
getFoldersEntriesCountin interfaceBookmarksEntryLocalService
-
getGroupEntries
- Specified by:
getGroupEntriesin interfaceBookmarksEntryLocalService
-
getGroupEntries
- Specified by:
getGroupEntriesin interfaceBookmarksEntryLocalService
-
getGroupEntriesCount
public int getGroupEntriesCount(long groupId) - Specified by:
getGroupEntriesCountin interfaceBookmarksEntryLocalService
-
getGroupEntriesCount
public int getGroupEntriesCount(long groupId, long userId) - Specified by:
getGroupEntriesCountin interfaceBookmarksEntryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceBookmarksEntryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceBookmarksEntryLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceBookmarksEntryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
moveEntry
public BookmarksEntry moveEntry(long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryFromTrash
public BookmarksEntry moveEntryFromTrash(long userId, long entryId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveEntryFromTrashin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryToTrash
public BookmarksEntry moveEntryToTrash(long userId, BookmarksEntry entry) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveEntryToTrashin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveEntryToTrash
public BookmarksEntry moveEntryToTrash(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveEntryToTrashin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
openEntry
- Specified by:
openEntryin interfaceBookmarksEntryLocalService
-
openEntry
public BookmarksEntry openEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
openEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreEntryFromTrash
public BookmarksEntry restoreEntryFromTrash(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restoreEntryFromTrashin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
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 - Specified by:
searchin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
setTreePaths
public void setTreePaths(long folderId, String treePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
setTreePathsin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeEntry
public void subscribeEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribeEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeEntry
public void unsubscribeEntry(long userId, long entryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribeEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, BookmarksEntry entry, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAssetin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateBookmarksEntry
Updates the bookmarks entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect BookmarksEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateBookmarksEntryin interfaceBookmarksEntryLocalService- Parameters:
bookmarksEntry- the bookmarks entry- Returns:
- the bookmarks entry that was updated
-
updateEntry
public BookmarksEntry updateEntry(long userId, 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 - Specified by:
updateEntryin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public BookmarksEntry updateStatus(long userId, BookmarksEntry entry, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceBookmarksEntryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksEntry> getCTPersistence()- Specified by:
getCTPersistencein interfaceBookmarksEntryLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<BookmarksEntry>
-
getModelClass
- Specified by:
getModelClassin interfaceBookmarksEntryLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<BookmarksEntry>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksEntry>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceBookmarksEntryLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<BookmarksEntry>- Throws:
E
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<BookmarksEntryLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<BookmarksEntryLocalService>
-