Interface JournalFolderService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
JournalFolderServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface JournalFolderService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for JournalFolder. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addFolder

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      void deleteFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFolder

      void deleteFolder(long folderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchFolder

      @Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder fetchFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructures

      @Transactional(propagation=SUPPORTS, readOnly=true) List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures(long[] groupIds, long folderId, int restrictionType) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructures

      @Transactional(propagation=SUPPORTS, readOnly=true) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolder

      @Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolderByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) JournalFolder getFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolderIds

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getFolderIds(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFolders

      @Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId)
    • getFolders

      @Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId)
    • getFolders

      @Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int status)
    • getFolders

      @Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int start, int end)
    • getFolders

      @Transactional(propagation=SUPPORTS, readOnly=true) List<JournalFolder> getFolders(long groupId, long parentFolderId, int status, int start, int end)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndArticles(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndArticles(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getFoldersAndArticles(long groupId, long userId, long folderId, int status, Locale locale, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) 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)
    • getFoldersAndArticles

      @Transactional(propagation=SUPPORTS, readOnly=true) 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)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, List<Long> folderIds, int status)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long folderId, int status)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, int status)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int status)
    • getFoldersAndArticlesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersAndArticlesCount(long groupId, long userId, long folderId, long ddmStructureId, int[] excludedStatuses, int status)
    • getFoldersCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId)
    • getFoldersCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getFoldersCount(long groupId, long parentFolderId, int status)
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getSubfolderIds

      @Transactional(propagation=SUPPORTS, readOnly=true) void getSubfolderIds(List<Long> folderIds, long groupId, long folderId, boolean recurse)
    • getSubfolderIds

      @Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSubfolderIds(long groupId, long folderId, boolean recurse)
    • moveFolder

      JournalFolder moveFolder(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderFromTrash

      JournalFolder moveFolderFromTrash(long folderId, long parentFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • moveFolderToTrash

      JournalFolder moveFolderToTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • restoreFolderFromTrash

      void restoreFolderFromTrash(long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchDDMStructures

      @Transactional(propagation=SUPPORTS, readOnly=true) 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchDDMStructuresCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int searchDDMStructuresCount(long companyId, long[] groupIds, long folderId, int restrictionType, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • subscribe

      void subscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • unsubscribe

      void unsubscribe(long groupId, long folderId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFolder

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

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException