Class JournalFolderServiceWrapper

java.lang.Object
com.liferay.journal.service.JournalFolderServiceWrapper
All Implemented Interfaces:
JournalFolderService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<JournalFolderService>

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

    • JournalFolderServiceWrapper

      public JournalFolderServiceWrapper()
    • JournalFolderServiceWrapper

      public JournalFolderServiceWrapper(JournalFolderService journalFolderService)
  • Method Details

    • addFolder

      public JournalFolder addFolder(String externalReferenceCode, 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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

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

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

      public JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchFolder in interface JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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 JournalFolderService
      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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolder

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

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

      public List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFolderIds in interface JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolders

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

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

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

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

      public List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
      Specified by:
      getFolders in interface JournalFolderService
    • 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 JournalFolderService
    • 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 JournalFolderService
    • getFoldersAndArticles

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

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

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

      public List<Object> getFoldersAndArticles(long groupId, long userId, long folderId, long ddmStructureId, int status, Locale locale, int[] excludedStatuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
      Specified by:
      getFoldersAndArticles in interface JournalFolderService
    • getFoldersAndArticlesCount

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

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

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

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

      public int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int status)
      Specified by:
      getFoldersAndArticlesCount in interface JournalFolderService
    • getFoldersAndArticlesCount

      public int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, int status)
      Specified by:
      getFoldersAndArticlesCount in interface JournalFolderService
    • getFoldersCount

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

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

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

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

      public List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
      Specified by:
      getSubfolderIds in interface JournalFolderService
    • 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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderFromTrash

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

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

      public void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      restoreFolderFromTrash in interface JournalFolderService
      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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchDDMStructuresCount

      public int searchDDMStructuresCount(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchDDMStructuresCount in interface JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribe

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

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

      public JournalFolder updateFolder(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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolder

      public JournalFolder updateFolder(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 JournalFolderService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

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

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