public class CopyActionExecuter extends ActionExecuterAbstractBase
Copies the actioned upon node to a specified location.
Modifier and Type | Field and Description |
---|---|
static String |
ERR_OVERWRITE |
static String |
NAME |
static String |
PARAM_DEEP_COPY |
static String |
PARAM_DESTINATION_FOLDER |
static String |
PARAM_OVERWRITE_COPY |
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
CopyActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParameterDefinitions(List<ParameterDefinition> 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, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String ERR_OVERWRITE
public static final String NAME
public static final String PARAM_DESTINATION_FOLDER
public static final String PARAM_DEEP_COPY
public static final 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(List<ParameterDefinition> paramList)
ParameterizedItemAbstractBase
addParameterDefinitions
in class ParameterizedItemAbstractBase
paramList
- the parameter definitions listpublic void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
ActionExecuterAbstractBase
executeImpl
in class ActionExecuterAbstractBase
ruleAction
- the actionactionedUponNodeRef
- the actioned upon nodeCopyright © 2005–2017 Alfresco Software. All rights reserved.