Class CopyActionExecuter
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.repo.action.executer.CopyActionExecuter
-
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class CopyActionExecuter extends ActionExecuterAbstractBase
Copy action executor.Copies the actioned upon node to a specified location.
- Author:
- Roy Wetherall
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERR_OVERWRITEstatic java.lang.StringNAMEstatic java.lang.StringPARAM_DEEP_COPYstatic java.lang.StringPARAM_DESTINATION_FOLDERstatic java.lang.StringPARAM_OVERWRITE_COPY-
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
-
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
-
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
name
-
Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter
PARAM_RESULT
-
-
Constructor Summary
Constructors Constructor Description CopyActionExecuter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameterDefinitions(java.util.List<ParameterDefinition> paramList)Adds the parameter definitions to the listvoidexecuteImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Execute the action implementationvoidsetCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)Service to determine check-in or check-out statusvoidsetCopyService(CopyService copyService)Sets the copy servicevoidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Sets the node service-
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
-
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
-
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
-
-
-
-
Field Detail
-
ERR_OVERWRITE
public static final java.lang.String ERR_OVERWRITE
- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
PARAM_DESTINATION_FOLDER
public static final java.lang.String PARAM_DESTINATION_FOLDER
- See Also:
- Constant Field Values
-
PARAM_DEEP_COPY
public static final java.lang.String PARAM_DEEP_COPY
- See Also:
- Constant Field Values
-
PARAM_OVERWRITE_COPY
public static final java.lang.String PARAM_OVERWRITE_COPY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Sets the node service
-
setCopyService
public void setCopyService(CopyService copyService)
Sets the copy service
-
setCheckOutCheckInService
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
Service to determine check-in or check-out status
-
addParameterDefinitions
protected void addParameterDefinitions(java.util.List<ParameterDefinition> paramList)
Description copied from class:ParameterizedItemAbstractBaseAdds the parameter definitions to the list- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list
-
executeImpl
public void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Description copied from class:ActionExecuterAbstractBaseExecute the action implementation- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
ruleAction- the actionactionedUponNodeRef- the actioned upon node
-
-