| 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(NodeRef downloadNodeRef) |
protected void |
checkNodeIdsReadPermission(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(NodeService nodeService) |
void |
setPermissionService(PermissionService permissionService) |
protected 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(NodeService nodeService)
public void setNodes(Nodes nodes)
public void setPermissionService(PermissionService permissionService)
public Download createDownloadNode(Download download)
DownloadscreateDownloadNode in interface Downloadspublic Download getDownloadStatus(String downloadNodeId)
DownloadsgetDownloadStatus in interface Downloadspublic void cancel(String downloadNodeId)
Downloadsprotected void checkNodeIdsReadPermission(NodeRef[] zipContentNodeRefs)
protected void checkDuplicateNodeId(Download download)
protected void checkEmptyNodeIds(Download download)
protected void checkIsDownloadNodeType(NodeRef downloadNodeRef)
Copyright © 2005–2021 Alfresco Software. All rights reserved.