Class LiferayProcessorLocalRepositoryWrapper

Object
com.liferay.portal.repository.util.LocalRepositoryWrapper
com.liferay.portal.repository.liferayrepository.LiferayProcessorLocalRepositoryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.repository.capabilities.CapabilityProvider, com.liferay.portal.kernel.repository.DocumentRepository, com.liferay.portal.kernel.repository.LocalRepository

public class LiferayProcessorLocalRepositoryWrapper extends LocalRepositoryWrapper
Author:
Adolfo Pérez
  • Constructor Details

    • LiferayProcessorLocalRepositoryWrapper

      public LiferayProcessorLocalRepositoryWrapper(com.liferay.portal.kernel.repository.LocalRepository localRepository, 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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      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 LocalRepositoryWrapper
      Throws:
      com.liferay.portal.kernel.exception.PortalException