Class JournalFolderLocalServiceWrapper

java.lang.Object
com.liferay.journal.service.JournalFolderLocalServiceWrapper
All Implemented Interfaces:
JournalFolderLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<JournalFolderLocalService>

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

    • JournalFolderLocalServiceWrapper

      public JournalFolderLocalServiceWrapper()
    • JournalFolderLocalServiceWrapper

      public JournalFolderLocalServiceWrapper(JournalFolderLocalService journalFolderLocalService)
  • Method Details

    • addFolder

      public JournalFolder addFolder(String externalReferenceCode, long userId, long groupId, 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 JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addJournalFolder

      public JournalFolder addJournalFolder(JournalFolder journalFolder)
      Adds the journal folder to the database. Also notifies the appropriate model listeners.

      Important: Inspect JournalFolderLocalServiceImpl 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:
      addJournalFolder in interface JournalFolderLocalService
      Parameters:
      journalFolder - the journal folder
      Returns:
      the journal folder that was added
    • createJournalFolder

      public JournalFolder createJournalFolder(long folderId)
      Creates a new journal folder with the primary key. Does not add the journal folder to the database.
      Specified by:
      createJournalFolder in interface JournalFolderLocalService
      Parameters:
      folderId - the primary key for the new journal folder
      Returns:
      the new journal folder
    • createPersistedModel

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

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

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

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

      public JournalFolder deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFolder in interface JournalFolderLocalService
      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 JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteJournalFolder

      public JournalFolder deleteJournalFolder(JournalFolder journalFolder)
      Deletes the journal folder from the database. Also notifies the appropriate model listeners.

      Important: Inspect JournalFolderLocalServiceImpl 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:
      deleteJournalFolder in interface JournalFolderLocalService
      Parameters:
      journalFolder - the journal folder
      Returns:
      the journal folder that was removed
    • deleteJournalFolder

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

      Important: Inspect JournalFolderLocalServiceImpl 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:
      deleteJournalFolder in interface JournalFolderLocalService
      Parameters:
      folderId - the primary key of the journal folder
      Returns:
      the journal folder that was removed
      Throws:
      PortalException - if a journal folder with the primary key could not be found
      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 JournalFolderLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface JournalFolderLocalService
      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 JournalFolderLocalService
      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 JournalFolderLocalService
    • 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 JournalFolderLocalService
      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.journal.model.impl.JournalFolderModelImpl.

      Specified by:
      dynamicQuery in interface JournalFolderLocalService
      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.journal.model.impl.JournalFolderModelImpl.

      Specified by:
      dynamicQuery in interface JournalFolderLocalService
      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 JournalFolderLocalService
      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 JournalFolderLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchFolder

      public JournalFolder fetchFolder(long folderId)
      Specified by:
      fetchFolder in interface JournalFolderLocalService
    • fetchFolder

      public JournalFolder fetchFolder(long groupId, long parentFolderId, String name)
      Specified by:
      fetchFolder in interface JournalFolderLocalService
    • fetchFolder

      public JournalFolder fetchFolder(long groupId, String name)
      Specified by:
      fetchFolder in interface JournalFolderLocalService
    • fetchJournalFolder

      public JournalFolder fetchJournalFolder(long folderId)
      Specified by:
      fetchJournalFolder in interface JournalFolderLocalService
    • fetchJournalFolderByExternalReferenceCode

      public JournalFolder fetchJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId)
      Specified by:
      fetchJournalFolderByExternalReferenceCode in interface JournalFolderLocalService
    • fetchJournalFolderByUuidAndGroupId

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

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

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

      public int getCompanyFoldersCount(long companyId)
      Specified by:
      getCompanyFoldersCount in interface JournalFolderLocalService
    • getDDMStructures

      public List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMStructures in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructures

      public List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMStructures in interface JournalFolderLocalService
      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:
      getExportActionableDynamicQuery in interface JournalFolderLocalService
    • getFolder

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

      public List<JournalFolder> getFolders(long groupId)
      Specified by:
      getFolders in interface JournalFolderLocalService
    • getFolders

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

      public List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
      Specified by:
      getFolders in interface JournalFolderLocalService
    • getFolders

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

      public List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
      Specified by:
      getFolders in interface JournalFolderLocalService
    • getFoldersAndArticles

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

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

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

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

      public int getFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status)
      Specified by:
      getFoldersAndArticlesCount in interface JournalFolderLocalService
    • getFoldersAndArticlesCount

      public int getFoldersAndArticlesCount(long groupId, long folderId)
      Specified by:
      getFoldersAndArticlesCount in interface JournalFolderLocalService
    • getFoldersAndArticlesCount

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

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

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

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

      public long getInheritedWorkflowFolderId(long folderId) throws NoSuchFolderException
      Specified by:
      getInheritedWorkflowFolderId in interface JournalFolderLocalService
      Throws:
      NoSuchFolderException
    • getJournalFolder

      public JournalFolder getJournalFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the journal folder with the primary key.
      Specified by:
      getJournalFolder in interface JournalFolderLocalService
      Parameters:
      folderId - the primary key of the journal folder
      Returns:
      the journal folder
      Throws:
      PortalException - if a journal folder with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getJournalFolderByExternalReferenceCode

      public JournalFolder getJournalFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getJournalFolderByExternalReferenceCode in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getJournalFolderByUuidAndGroupId

      public JournalFolder getJournalFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the journal folder matching the UUID and group.
      Specified by:
      getJournalFolderByUuidAndGroupId in interface JournalFolderLocalService
      Parameters:
      uuid - the journal folder's UUID
      groupId - the primary key of the group
      Returns:
      the matching journal folder
      Throws:
      PortalException - if a matching journal folder could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getJournalFolders

      public List<JournalFolder> getJournalFolders(int start, int end)
      Returns a range of all the journal 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.journal.model.impl.JournalFolderModelImpl.

      Specified by:
      getJournalFolders in interface JournalFolderLocalService
      Parameters:
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      Returns:
      the range of journal folders
    • getJournalFoldersByUuidAndCompanyId

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

      public List<JournalFolder> getJournalFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFolder> orderByComparator)
      Returns a range of journal folders matching the UUID and company.
      Specified by:
      getJournalFoldersByUuidAndCompanyId in interface JournalFolderLocalService
      Parameters:
      uuid - the UUID of the journal folders
      companyId - the primary key of the company
      start - the lower bound of the range of journal folders
      end - the upper bound of the range of journal folders (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the range of matching journal folders, or an empty list if no matches were found
    • getJournalFoldersCount

      public int getJournalFoldersCount()
      Returns the number of journal folders.
      Specified by:
      getJournalFoldersCount in interface JournalFolderLocalService
      Returns:
      the number of journal folders
    • getNoAssetFolders

      public List<JournalFolder> getNoAssetFolders()
      Specified by:
      getNoAssetFolders in interface JournalFolderLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface JournalFolderLocalService
      Returns:
      the OSGi service identifier
    • getOverridedDDMStructuresFolderId

      public long getOverridedDDMStructuresFolderId(long folderId) throws NoSuchFolderException
      Specified by:
      getOverridedDDMStructuresFolderId in interface JournalFolderLocalService
      Throws:
      NoSuchFolderException
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface JournalFolderLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • getSubfolderIds

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

      public String getUniqueFolderName(String uuid, long groupId, long parentFolderId, String name, int count)
      Specified by:
      getUniqueFolderName in interface JournalFolderLocalService
    • moveFolder

      public JournalFolder moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolder in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderFromTrash

      public JournalFolder moveFolderFromTrash(long userId, long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolderFromTrash in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderToTrash

      public JournalFolder moveFolderToTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      moveFolderToTrash in interface JournalFolderLocalService
      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 JournalFolderLocalService
      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 JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreFolderFromTrash

      public void restoreFolderFromTrash(long userId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreFolderFromTrash in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchDDMStructures

      public List<com.liferay.dynamic.data.mapping.model.DDMStructure> searchDDMStructures(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.dynamic.data.mapping.model.DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchDDMStructures in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribe

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

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

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

      public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFolder in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolder

      public JournalFolder updateFolder(long userId, long groupId, long folderId, long parentFolderId, String name, String description, long[] ddmStructureIds, int restrictionType, boolean mergeWithParentFolder, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFolder in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolderDDMStructures

      public void updateFolderDDMStructures(JournalFolder folder, long[] ddmStructureIdsArray) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFolderDDMStructures in interface JournalFolderLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateJournalFolder

      public JournalFolder updateJournalFolder(JournalFolder journalFolder)
      Updates the journal folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect JournalFolderLocalServiceImpl 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:
      updateJournalFolder in interface JournalFolderLocalService
      Parameters:
      journalFolder - the journal folder
      Returns:
      the journal folder that was updated
    • updateStatus

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

      public void validateFolderDDMStructures(long folderId, long parentFolderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      validateFolderDDMStructures in interface JournalFolderLocalService
      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<JournalFolder> getCTPersistence()
      Specified by:
      getCTPersistence in interface com.liferay.portal.kernel.service.change.tracking.CTService<JournalFolder>
      Specified by:
      getCTPersistence in interface JournalFolderLocalService
    • getModelClass

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

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

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

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