Package org.alfresco.rest.api
Interface Downloads
-
- All Known Implementing Classes:
DownloadsImpl
public interface Downloads
downloads API- Author:
- cpopa
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel(java.lang.String downloadNodeId)
Stop the zip creation if still in progressDownload
createDownloadNode(Download download)
Creates a download:download node.Download
getDownloadStatus(java.lang.String downloadNodeId)
Get status info about a download node.
-
-
-
Method Detail
-
createDownloadNode
Download createDownloadNode(Download download)
Creates a download:download node.- Parameters:
download
-- Returns:
- information about the newly created download:download node
-
getDownloadStatus
Download getDownloadStatus(java.lang.String downloadNodeId)
Get status info about a download node.- Parameters:
downloadNodeId
-- Returns:
- status info about a download:download node
-
cancel
void cancel(java.lang.String downloadNodeId)
Stop the zip creation if still in progress- Parameters:
downloadNodeId
-
-
-