Class LiferayProcessorRepositoryWrapper

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

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

    • LiferayProcessorRepositoryWrapper

      public LiferayProcessorRepositoryWrapper(com.liferay.portal.kernel.repository.Repository repository, com.liferay.portal.kernel.repository.capabilities.ProcessorCapability processorCapability)
  • 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
    • cancelCheckOut

      public com.liferay.portal.kernel.repository.model.FileVersion cancelCheckOut(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      cancelCheckOut in interface com.liferay.portal.kernel.repository.Repository
      Overrides:
      cancelCheckOut 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
    • checkOutFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
      Overrides:
      checkOutFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • checkOutFileEntry

      public com.liferay.portal.kernel.repository.model.FileEntry checkOutFileEntry(long fileEntryId, String owner, long expirationTime, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      checkOutFileEntry in interface com.liferay.portal.kernel.repository.Repository
      Overrides:
      checkOutFileEntry in class RepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteFileVersion

      public void deleteFileVersion(long fileEntryId, String version) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteFileVersion in interface com.liferay.portal.kernel.repository.Repository
      Overrides:
      deleteFileVersion 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