public class CopyActionExecuter extends ActionExecuterAbstractBase
Copies the actioned upon node to a specified location.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ERR_OVERWRITE |
static java.lang.String |
NAME |
static java.lang.String |
PARAM_DEEP_COPY |
static java.lang.String |
PARAM_DESTINATION_FOLDER |
static java.lang.String |
PARAM_OVERWRITE_COPY |
actionDefinition, applicableTypes, publicActionDISPLAY_LABEL, runtimeActionServicenamePARAM_RESULT| Constructor and Description |
|---|
CopyActionExecuter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list
|
void |
executeImpl(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Execute the action implementation
|
void |
setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
Service to determine check-in or check-out status
|
void |
setCopyService(CopyService copyService)
Sets the copy service
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service
|
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatuscheckMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toStringsetBeanNamepublic static final java.lang.String ERR_OVERWRITE
public static final java.lang.String NAME
public static final java.lang.String PARAM_DESTINATION_FOLDER
public static final java.lang.String PARAM_DEEP_COPY
public static final java.lang.String PARAM_OVERWRITE_COPY
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setCopyService(CopyService copyService)
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
protected void addParameterDefinitions(java.util.List paramList)
ParameterizedItemAbstractBaseaddParameterDefinitions in class ParameterizedItemAbstractBaseparamList - the parameter definitions listpublic void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBaseexecuteImpl in class ActionExecuterAbstractBaseruleAction - the actionactionedUponNodeRef - the actioned upon nodeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.