Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ARCHIVE_EXTENSION |
static String |
DEFAULT_ARCHIVE_NAME |
Constructor and Description |
---|
DownloadsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String downloadNodeId)
Stop the zip creation if still in progress
|
protected void |
checkDuplicateNodeId(Download download) |
protected void |
checkEmptyNodeIds(Download download) |
protected void |
checkIsDownloadNodeType(org.alfresco.service.cmr.repository.NodeRef downloadNodeRef) |
protected void |
checkNodeIdsReadPermission(org.alfresco.service.cmr.repository.NodeRef[] zipContentNodeRefs) |
Download |
createDownloadNode(Download download)
Creates a download:download node.
|
Download |
getDownloadStatus(String downloadNodeId)
Get status info about a download node.
|
void |
setDownloadService(DownloadService downloadService) |
void |
setNodes(Nodes nodes) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService) |
protected org.alfresco.service.cmr.repository.NodeRef[] |
validateAndGetNodeRefs(Download download) |
public static final String DEFAULT_ARCHIVE_NAME
public static final String DEFAULT_ARCHIVE_EXTENSION
public void setDownloadService(DownloadService downloadService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setNodes(Nodes nodes)
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
public Download createDownloadNode(Download download)
Downloads
createDownloadNode
in interface Downloads
public Download getDownloadStatus(String downloadNodeId)
Downloads
getDownloadStatus
in interface Downloads
public void cancel(String downloadNodeId)
Downloads
protected org.alfresco.service.cmr.repository.NodeRef[] validateAndGetNodeRefs(Download download)
protected void checkNodeIdsReadPermission(org.alfresco.service.cmr.repository.NodeRef[] zipContentNodeRefs)
protected void checkDuplicateNodeId(Download download)
protected void checkEmptyNodeIds(Download download)
protected void checkIsDownloadNodeType(org.alfresco.service.cmr.repository.NodeRef downloadNodeRef)
Copyright © 2005–2017 Alfresco Software. All rights reserved.