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 Summary
ConstructorsConstructorDescriptionExternalDownloadServiceImpl(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 Summary
Modifier and TypeMethodDescriptionvoidcheckDocumentDownload(String documentId) downloadZippedFolder(String folderId) org.exoplatform.documents.model.DownloadItemgetDocumentDownloadItem(String documentId)
-
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
- Specified by:
getDocumentDownloadItemin interfaceorg.exoplatform.documents.service.ExternalDownloadService
-
downloadZippedFolder
public InputStream downloadZippedFolder(String folderId) throws IOException, org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
downloadZippedFolderin interfaceorg.exoplatform.documents.service.ExternalDownloadService- Throws:
IOExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
checkDocumentDownload
public void checkDocumentDownload(String documentId) throws org.exoplatform.commons.exception.ObjectNotFoundException - Specified by:
checkDocumentDownloadin interfaceorg.exoplatform.documents.service.ExternalDownloadService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-