Class LiferayWorkflowRepositoryWrapper

Object
com.liferay.portal.repository.util.RepositoryWrapper
com.liferay.portal.repository.liferayrepository.LiferayWorkflowRepositoryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.repository.capabilities.CapabilityProvider, com.liferay.portal.kernel.repository.DocumentRepository, com.liferay.portal.kernel.repository.Repository

public class LiferayWorkflowRepositoryWrapper extends RepositoryWrapper
Author:
Adolfo Pérez
  • Constructor Details

    • LiferayWorkflowRepositoryWrapper

      public LiferayWorkflowRepositoryWrapper(com.liferay.portal.kernel.repository.Repository repository, WorkflowSupport workflowSupport)
  • Method Details

    • addFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, File file, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      addFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry addFileEntry(String externalReferenceCode, long userId, long folderId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      addFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkInFileEntry

      public void checkInFileEntry(long userId, long fileEntryId, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, String changeLog, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkInFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      checkInFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkInFileEntry

      public void checkInFileEntry(long userId, long fileEntryId, String lockUuid, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkInFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      checkInFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry copyFileEntry(long userId, long groupId, long fileEntryId, long destFolderId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      copyFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      copyFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • revertFileEntry

      public void revertFileEntry(long userId, long fileEntryId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      revertFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      revertFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, File file, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      updateFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(long userId, long fileEntryId, String sourceFileName, String mimeType, String title, String urlTitle, String description, String changeLog, com.liferay.document.library.kernel.model.DLVersionNumberIncrease dlVersionNumberIncrease, InputStream inputStream, long size, Date displayDate, Date expirationDate, Date reviewDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateFileEntry in interface com.liferay.portal.kernel.repository.DocumentRepository
      Overrides:
      updateFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException