org.alfresco.repo.action.executer
Class CreateVersionActionExecuter

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.CreateVersionActionExecuter
All Implemented Interfaces:
ActionExecuter, org.springframework.beans.factory.BeanNameAware

public class CreateVersionActionExecuter
extends ActionExecuterAbstractBase

Add features action executor implementation.


Field Summary
static java.lang.String NAME
          Action constants
 NodeService nodeService
          Node service
static java.lang.String PARAM_DESCRIPTION
           
static java.lang.String PARAM_MINOR_CHANGE
           
 VersionService versionService
          Version service
 
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
CreateVersionActionExecuter()
           
 
Method Summary
protected  void addParameterDefinitions(java.util.List paramList)
          Adds the parameter definitions to the list
 void executeImpl(Action ruleAction, NodeRef actionedUponNodeRef)
          Execute the action implementation
 void setNodeService(NodeService nodeService)
          Set node service
 void setVersionService(VersionService versionService)
          Set version service
 
Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
createActionDefinition, execute, getActionDefinition, getQueueName, init, setApplicableTypes, setPublicAction, setQueueName
 
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

NAME

public static final java.lang.String NAME
Action constants

See Also:
Constant Field Values

PARAM_DESCRIPTION

public static final java.lang.String PARAM_DESCRIPTION
See Also:
Constant Field Values

PARAM_MINOR_CHANGE

public static final java.lang.String PARAM_MINOR_CHANGE
See Also:
Constant Field Values

nodeService

public NodeService nodeService
Node service


versionService

public VersionService versionService
Version service

Constructor Detail

CreateVersionActionExecuter

public CreateVersionActionExecuter()
Method Detail

setNodeService

public void setNodeService(NodeService nodeService)
Set node service

Parameters:
nodeService - node service

setVersionService

public void setVersionService(VersionService versionService)
Set version service

Parameters:
versionService - version service

executeImpl

public void executeImpl(Action ruleAction,
                        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
See Also:
org.alfresco.repo.action.executer.ActionExecuter#execute(org.alfresco.service.cmr.repository.NodeRef, NodeRef)

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
See Also:
ParameterizedItemAbstractBase.addParameterDefinitions(java.util.List)


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