public class CreateDownloadArchiveAction extends ActionExecuterAbstractBase
ActionExecuter for creating an archive (ie. zip) file containing
content from the repository.
The maximum total size of the content which can be downloaded is controlled
by the maximumContentSie property. -1 indicates no limit.actionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_RESULT| Constructor and Description |
|---|
CreateDownloadArchiveAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list
|
protected void |
executeImpl(Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Create an archive file containing content from the repository.
|
void |
setCheckOutCheckInSerivce(CheckOutCheckInService checkOutCheckInService) |
void |
setContentServiceHelper(ContentServiceHelper contentServiceHelper) |
void |
setDownloadStorage(DownloadStorage downloadStorage) |
void |
setExporterService(ExporterService exporterService) |
void |
setMaximumContentSize(long maximumContentSize)
Set the maximum total size of content that can be added to a single
download.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setTransactionHelper(RetryingTransactionHelper transactionHelper) |
void |
setUpdateService(DownloadStatusUpdateService updateService) |
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic void setCheckOutCheckInSerivce(CheckOutCheckInService checkOutCheckInService)
public void setContentServiceHelper(ContentServiceHelper contentServiceHelper)
public void setDownloadStorage(DownloadStorage downloadStorage)
public void setExporterService(ExporterService exporterService)
public void setMaximumContentSize(long maximumContentSize)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setTransactionHelper(RetryingTransactionHelper transactionHelper)
public void setUpdateService(DownloadStatusUpdateService updateService)
protected void executeImpl(Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ExporterService with custom exporters to create the
archive files.executeImpl in class ActionExecuterAbstractBaseactionedUponNodeRef - Download node containing information required
to create the archive file, and which will eventually have its content
updated with the archive file.action - the actionprotected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBaseaddParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.