Class ExternalDownloadServiceImpl

java.lang.Object
org.exoplatform.documents.service.ExternalDownloadServiceImpl
All Implemented Interfaces:
org.exoplatform.documents.service.ExternalDownloadService

public class ExternalDownloadServiceImpl extends Object implements org.exoplatform.documents.service.ExternalDownloadService
  • Constructor Details

    • ExternalDownloadServiceImpl

      public ExternalDownloadServiceImpl(org.exoplatform.documents.storage.DocumentFileStorage documentFileStorage, org.exoplatform.documents.storage.PublicDocumentAccessStorage publicDocumentAccessStorage, org.exoplatform.documents.service.DocumentFileService documentFileService, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • getDocumentDownloadItem

      public org.exoplatform.documents.model.DownloadItem getDocumentDownloadItem(String documentId)
      Specified by:
      getDocumentDownloadItem in interface org.exoplatform.documents.service.ExternalDownloadService
    • downloadZippedFolder

      public InputStream downloadZippedFolder(String folderId) throws IOException, org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      downloadZippedFolder in interface org.exoplatform.documents.service.ExternalDownloadService
      Throws:
      IOException
      org.exoplatform.commons.exception.ObjectNotFoundException
    • checkDocumentDownload

      public void checkDocumentDownload(String documentId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      checkDocumentDownload in interface org.exoplatform.documents.service.ExternalDownloadService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException