org.alfresco.repo.action.executer
Class ExecuteAllRulesActionExecuter

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

public class ExecuteAllRulesActionExecuter
extends ActionExecuterAbstractBase

This action executes all rules present on the actioned upon node


Field Summary
static java.lang.String NAME
          Action constants
static java.lang.String PARAM_EXECUTE_INHERITED_RULES
           
static java.lang.String PARAM_RUN_ALL_RULES_ON_CHILDREN
           
 
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
ExecuteAllRulesActionExecuter()
           
 
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 setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
          Sets the dictionary service
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
          Set the node service
 void setRuleService(RuleService ruleService)
          Set the rule service
 void setRuntimeRuleService(RuntimeRuleService runtimeRuleService)
          Set the runtime rule 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

NAME

public static final java.lang.String NAME
Action constants

See Also:
Constant Field Values

PARAM_EXECUTE_INHERITED_RULES

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

PARAM_RUN_ALL_RULES_ON_CHILDREN

public static final java.lang.String PARAM_RUN_ALL_RULES_ON_CHILDREN
See Also:
Constant Field Values
Constructor Detail

ExecuteAllRulesActionExecuter

public ExecuteAllRulesActionExecuter()
Method Detail

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service

Parameters:
nodeService - the node service

setRuleService

public void setRuleService(RuleService ruleService)
Set the rule service

Parameters:
ruleService - the rule service

setRuntimeRuleService

public void setRuntimeRuleService(RuntimeRuleService runtimeRuleService)
Set the runtime rule service

Parameters:
runtimeRuleService - the runtime rule service

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the dictionary service

Parameters:
dictionaryService - the dictionary service

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
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.