org.alfresco.repo.action.executer
Class CopyActionExecuter

java.lang.Object
  extended by org.alfresco.repo.action.CommonResourceAbstractBase
      extended by org.alfresco.repo.action.ParameterizedItemAbstractBase
          extended by org.alfresco.repo.action.executer.ActionExecuterAbstractBase
              extended by org.alfresco.repo.action.executer.CopyActionExecuter
All Implemented Interfaces:
ActionExecuter, org.springframework.beans.factory.BeanNameAware

public class CopyActionExecuter
extends ActionExecuterAbstractBase

Copy action executor.

Copies the actioned upon node to a specified location.


Field Summary
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
           
 
Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
actionDefinition, applicableTypes, publicAction
 
Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
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
CopyActionExecuter()
           
 
Method Summary
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
 
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, setApplicableTypes, setBaseNodeService, setIgnoreLock, setLockService, setPublicAction, setQueueName, setTrackStatus
 
Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getParamDisplayLabel, getParameterDefintions, getTitleKey, setRuntimeActionService, toString
 
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase
setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

CopyActionExecuter

public CopyActionExecuter()
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 paramList)
Description copied from class: ParameterizedItemAbstractBase
Adds the parameter definitions to the list

Specified by:
addParameterDefinitions in class ParameterizedItemAbstractBase
Parameters:
paramList - the parameter definitions list

executeImpl

public void executeImpl(Action ruleAction,
                        org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Description copied from class: ActionExecuterAbstractBase
Execute the action implementation

Specified by:
executeImpl in class ActionExecuterAbstractBase
Parameters:
ruleAction - the action
actionedUponNodeRef - the actioned upon node


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.