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 TypeMethodDescriptionvoid
Stop the zip creation if still in progressprotected void
checkDuplicateNodeId
(Download download) protected void
checkEmptyNodeIds
(Download download) protected void
checkIsDownloadNodeType
(NodeRef downloadNodeRef) protected void
checkNodeIdsReadPermission
(NodeRef[] zipContentNodeRefs) createDownloadNode
(Download download) Creates a download:download node.getDownloadStatus
(String downloadNodeId) Get status info about a download node.void
setDownloadService
(DownloadService downloadService) void
void
setNodeService
(NodeService nodeService) void
setPermissionService
(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:Downloads
Creates a download:download node.- Specified by:
createDownloadNode
in interfaceDownloads
- Returns:
- information about the newly created download:download node
-
getDownloadStatus
Description copied from interface:Downloads
Get status info about a download node.- Specified by:
getDownloadStatus
in interfaceDownloads
- Returns:
- status info about a download:download node
-
cancel
Description copied from interface:Downloads
Stop the zip creation if still in progress -
validateAndGetNodeRefs
-
checkNodeIdsReadPermission
-
checkDuplicateNodeId
-
checkEmptyNodeIds
-
checkIsDownloadNodeType
-