Class BookmarksFolderLocalServiceWrapper

java.lang.Object
com.liferay.bookmarks.service.BookmarksFolderLocalServiceWrapper
All Implemented Interfaces:
BookmarksFolderLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<BookmarksFolder>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>

public class BookmarksFolderLocalServiceWrapper extends Object implements BookmarksFolderLocalService, com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>
Provides a wrapper for BookmarksFolderLocalService.
See Also:
Generated:
  • Constructor Details

    • BookmarksFolderLocalServiceWrapper

      public BookmarksFolderLocalServiceWrapper()
    • BookmarksFolderLocalServiceWrapper

      public BookmarksFolderLocalServiceWrapper(BookmarksFolderLocalService bookmarksFolderLocalService)
  • Method Details

    • addBookmarksFolder

      public BookmarksFolder addBookmarksFolder(BookmarksFolder bookmarksFolder)
      Adds the bookmarks folder to the database. Also notifies the appropriate model listeners.

      Important: Inspect BookmarksFolderLocalServiceImpl 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:
      addBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      bookmarksFolder - the bookmarks folder
      Returns:
      the bookmarks folder that was added
    • addFolder

      public BookmarksFolder addFolder(long userId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createBookmarksFolder

      public BookmarksFolder createBookmarksFolder(long folderId)
      Creates a new bookmarks folder with the primary key. Does not add the bookmarks folder to the database.
      Specified by:
      createBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      folderId - the primary key for the new bookmarks folder
      Returns:
      the new bookmarks folder
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface BookmarksFolderLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • deleteBookmarksFolder

      public BookmarksFolder deleteBookmarksFolder(BookmarksFolder bookmarksFolder)
      Deletes the bookmarks folder from the database. Also notifies the appropriate model listeners.

      Important: Inspect BookmarksFolderLocalServiceImpl 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:
      deleteBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      bookmarksFolder - the bookmarks folder
      Returns:
      the bookmarks folder that was removed
    • deleteBookmarksFolder

      public BookmarksFolder deleteBookmarksFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the bookmarks folder with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect BookmarksFolderLocalServiceImpl 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:
      deleteBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      folderId - the primary key of the bookmarks folder
      Returns:
      the bookmarks folder that was removed
    • deleteFolder

      public BookmarksFolder deleteFolder(BookmarksFolder folder) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public BookmarksFolder deleteFolder(BookmarksFolder folder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public BookmarksFolder deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      public BookmarksFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolders

      public void deleteFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolders in interface BookmarksFolderLocalService
      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:
      deletePersistedModel in interface BookmarksFolderLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface BookmarksFolderLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface BookmarksFolderLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface BookmarksFolderLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface BookmarksFolderLocalService
      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 - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.bookmarks.model.impl.BookmarksFolderModelImpl.

      Specified by:
      dynamicQuery in interface BookmarksFolderLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - 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 - 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.bookmarks.model.impl.BookmarksFolderModelImpl.

      Specified by:
      dynamicQuery in interface BookmarksFolderLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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:
      dynamicQueryCount in interface BookmarksFolderLocalService
      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:
      dynamicQueryCount in interface BookmarksFolderLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchBookmarksFolder

      public BookmarksFolder fetchBookmarksFolder(long folderId)
      Specified by:
      fetchBookmarksFolder in interface BookmarksFolderLocalService
    • fetchBookmarksFolderByUuidAndGroupId

      public BookmarksFolder fetchBookmarksFolderByUuidAndGroupId(String uuid, long groupId)
      Returns the bookmarks folder matching the UUID and group.
      Specified by:
      fetchBookmarksFolderByUuidAndGroupId in interface BookmarksFolderLocalService
      Parameters:
      uuid - the bookmarks folder's UUID
      groupId - the primary key of the group
      Returns:
      the matching bookmarks folder, or null if a matching bookmarks folder could not be found
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface BookmarksFolderLocalService
    • getBookmarksFolder

      public BookmarksFolder getBookmarksFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the bookmarks folder with the primary key.
      Specified by:
      getBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      folderId - the primary key of the bookmarks folder
      Returns:
      the bookmarks folder
    • getBookmarksFolderByUuidAndGroupId

      public BookmarksFolder getBookmarksFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the bookmarks folder matching the UUID and group.
      Specified by:
      getBookmarksFolderByUuidAndGroupId in interface BookmarksFolderLocalService
      Parameters:
      uuid - the bookmarks folder's UUID
      groupId - the primary key of the group
      Returns:
      the matching bookmarks folder
    • getBookmarksFolders

      public List<BookmarksFolder> getBookmarksFolders(int start, int end)
      Returns a range of all the bookmarks folders.

      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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.bookmarks.model.impl.BookmarksFolderModelImpl.

      Specified by:
      getBookmarksFolders in interface BookmarksFolderLocalService
      Parameters:
      start - the lower bound of the range of bookmarks folders
      end - the upper bound of the range of bookmarks folders (not inclusive)
      Returns:
      the range of bookmarks folders
    • getBookmarksFoldersByUuidAndCompanyId

      public List<BookmarksFolder> getBookmarksFoldersByUuidAndCompanyId(String uuid, long companyId)
      Returns all the bookmarks folders matching the UUID and company.
      Specified by:
      getBookmarksFoldersByUuidAndCompanyId in interface BookmarksFolderLocalService
      Parameters:
      uuid - the UUID of the bookmarks folders
      companyId - the primary key of the company
      Returns:
      the matching bookmarks folders, or an empty list if no matches were found
    • getBookmarksFoldersByUuidAndCompanyId

      public List<BookmarksFolder> getBookmarksFoldersByUuidAndCompanyId(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.
      Specified by:
      getBookmarksFoldersByUuidAndCompanyId in interface BookmarksFolderLocalService
      Parameters:
      uuid - the UUID of the bookmarks folders
      companyId - the primary key of the company
      start - the lower bound of the range of bookmarks folders
      end - the upper bound of the range of bookmarks folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching bookmarks folders, or an empty list if no matches were found
    • getBookmarksFoldersCount

      public int getBookmarksFoldersCount()
      Returns the number of bookmarks folders.
      Specified by:
      getBookmarksFoldersCount in interface BookmarksFolderLocalService
      Returns:
      the number of bookmarks folders
    • getCompanyFolders

      public List<BookmarksFolder> getCompanyFolders(long companyId, int start, int end)
      Specified by:
      getCompanyFolders in interface BookmarksFolderLocalService
    • getCompanyFoldersCount

      public int getCompanyFoldersCount(long companyId)
      Specified by:
      getCompanyFoldersCount in interface BookmarksFolderLocalService
    • getExportActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
      Specified by:
      getExportActionableDynamicQuery in interface BookmarksFolderLocalService
    • getFolder

      public BookmarksFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolders

      public List<BookmarksFolder> getFolders(long groupId)
      Specified by:
      getFolders in interface BookmarksFolderLocalService
    • getFolders

      public List<BookmarksFolder> getFolders(long groupId, long parentFolderId)
      Specified by:
      getFolders in interface BookmarksFolderLocalService
    • getFolders

      public List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int start, int end)
      Specified by:
      getFolders in interface BookmarksFolderLocalService
    • getFolders

      public List<BookmarksFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
      Specified by:
      getFolders in interface BookmarksFolderLocalService
    • getFoldersAndEntries

      public List<Object> getFoldersAndEntries(long groupId, long folderId)
      Specified by:
      getFoldersAndEntries in interface BookmarksFolderLocalService
    • getFoldersAndEntries

      public List<Object> getFoldersAndEntries(long groupId, long folderId, int status)
      Specified by:
      getFoldersAndEntries in interface BookmarksFolderLocalService
    • getFoldersAndEntries

      public List<Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end)
      Specified by:
      getFoldersAndEntries in interface BookmarksFolderLocalService
    • getFoldersAndEntries

      public List<Object> getFoldersAndEntries(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
      Specified by:
      getFoldersAndEntries in interface BookmarksFolderLocalService
    • getFoldersAndEntriesCount

      public int getFoldersAndEntriesCount(long groupId, long folderId, int status)
      Specified by:
      getFoldersAndEntriesCount in interface BookmarksFolderLocalService
    • getFoldersCount

      public int getFoldersCount(long groupId, long parentFolderId)
      Specified by:
      getFoldersCount in interface BookmarksFolderLocalService
    • getFoldersCount

      public int getFoldersCount(long groupId, long parentFolderId, int status)
      Specified by:
      getFoldersCount in interface BookmarksFolderLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface BookmarksFolderLocalService
    • getNoAssetFolders

      public List<BookmarksFolder> getNoAssetFolders()
      Specified by:
      getNoAssetFolders in interface BookmarksFolderLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface BookmarksFolderLocalService
      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:
      getPersistedModel in interface BookmarksFolderLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getSubfolderIds

      public void getSubfolderIds(List<Long> folderIds, long groupId, long folderId)
      Specified by:
      getSubfolderIds in interface BookmarksFolderLocalService
    • mergeFolders

      public void mergeFolders(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      mergeFolders in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolder

      public BookmarksFolder moveFolder(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderFromTrash

      public BookmarksFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolderFromTrash in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderToTrash

      public BookmarksFolder moveFolderToTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolderToTrash in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • rebuildTree

      public void rebuildTree(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      rebuildTree in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • rebuildTree

      public void rebuildTree(long companyId, long parentFolderId, String parentTreePath, boolean reindex) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      rebuildTree in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreFolderFromTrash

      public BookmarksFolder restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreFolderFromTrash in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribeFolder

      public void subscribeFolder(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      subscribeFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribeFolder

      public void unsubscribeFolder(long userId, long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      unsubscribeFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAsset

      public void updateAsset(long userId, BookmarksFolder folder, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds, Double priority) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateAsset in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateBookmarksFolder

      public BookmarksFolder updateBookmarksFolder(BookmarksFolder bookmarksFolder)
      Updates the bookmarks folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect BookmarksFolderLocalServiceImpl 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:
      updateBookmarksFolder in interface BookmarksFolderLocalService
      Parameters:
      bookmarksFolder - the bookmarks folder
      Returns:
      the bookmarks folder that was updated
    • updateFolder

      public BookmarksFolder updateFolder(long userId, long folderId, long parentFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFolder in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateStatus

      public BookmarksFolder updateStatus(long userId, BookmarksFolder folder, int status) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateStatus in interface BookmarksFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getCTPersistence

      public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksFolder> getCTPersistence()
      Specified by:
      getCTPersistence in interface BookmarksFolderLocalService
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<BookmarksFolder>
    • getModelClass

      public Class<BookmarksFolder> getModelClass()
      Specified by:
      getModelClass in interface BookmarksFolderLocalService
      Specified by:
      getModelClass in interface com.liferay.portal.kernel.service.change.tracking.CTService<BookmarksFolder>
    • updateWithUnsafeFunction

      public <R, E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<BookmarksFolder>,R,E> updateUnsafeFunction) throws E
      Specified by:
      updateWithUnsafeFunction in interface BookmarksFolderLocalService
      Specified by:
      updateWithUnsafeFunction in interface com.liferay.portal.kernel.service.change.tracking.CTService<BookmarksFolder>
      Throws:
      E
    • getWrappedService

      public BookmarksFolderLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>
    • setWrappedService

      public void setWrappedService(BookmarksFolderLocalService bookmarksFolderLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<BookmarksFolderLocalService>