Package org.alfresco.rest.api.impl
Class DownloadsImpl
java.lang.Object
org.alfresco.rest.api.impl.DownloadsImpl
- All Implemented Interfaces:
Downloads
- Author:
- cpopa
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStop the zip creation if still in progressprotected voidcheckDuplicateNodeId(Download download) protected voidcheckEmptyNodeIds(Download download) protected voidcheckIsDownloadNodeType(NodeRef downloadNodeRef) protected voidcheckNodeIdsReadPermission(NodeRef[] zipContentNodeRefs) createDownloadNode(Download download) Creates a download:download node.getDownloadStatus(String downloadNodeId) Get status info about a download node.voidsetDownloadService(DownloadService downloadService) voidvoidsetNodeService(NodeService nodeService) voidsetPermissionService(PermissionService permissionService) protected NodeRef[]validateAndGetNodeRefs(Download download)
-
Field Details
-
DEFAULT_ARCHIVE_NAME
- See Also:
-
DEFAULT_ARCHIVE_EXTENSION
- See Also:
-
-
Constructor Details
-
DownloadsImpl
public DownloadsImpl()
-
-
Method Details
-
setDownloadService
-
setNodeService
-
setNodes
-
setPermissionService
-
createDownloadNode
Description copied from interface:DownloadsCreates a download:download node.- Specified by:
createDownloadNodein interfaceDownloads- Returns:
- information about the newly created download:download node
-
getDownloadStatus
Description copied from interface:DownloadsGet status info about a download node.- Specified by:
getDownloadStatusin interfaceDownloads- Returns:
- status info about a download:download node
-
cancel
Description copied from interface:DownloadsStop the zip creation if still in progress -
validateAndGetNodeRefs
-
checkNodeIdsReadPermission
-
checkDuplicateNodeId
-
checkEmptyNodeIds
-
checkIsDownloadNodeType
-