public interface DownloadService
Modifier and Type | Method and Description |
---|---|
void |
cancelDownload(org.alfresco.service.cmr.repository.NodeRef downloadNodeRef)
Cancel a download request
|
org.alfresco.service.cmr.repository.NodeRef |
createDownload(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs,
boolean recusirsive)
Start the creation of a downlaodable archive file containing the content
from the given nodeRefs.
|
void |
deleteDownloads(Date before)
Delete downloads created before before.
|
DownloadStatus |
getDownloadStatus(org.alfresco.service.cmr.repository.NodeRef downloadNode)
Get the status of the of the download identified by downloadNode.
|
org.alfresco.service.cmr.repository.NodeRef createDownload(org.alfresco.service.cmr.repository.NodeRef[] nodeRefs, boolean recusirsive)
nodeRefs
- NodeRefs of content to be added to the archive filerecusirsive
- Recurse into container nodesDownloadStatus getDownloadStatus(org.alfresco.service.cmr.repository.NodeRef downloadNode)
void deleteDownloads(Date before)
before
- Datevoid cancelDownload(org.alfresco.service.cmr.repository.NodeRef downloadNodeRef)
downloadNodeRef
- NodeRef of the download to cancelCopyright © 2005–2017 Alfresco Software. All rights reserved.