Class ErrorProneActionExecutor
- java.lang.Object
-
- org.alfresco.repo.action.CommonResourceAbstractBase
-
- org.alfresco.repo.action.ParameterizedItemAbstractBase
-
- org.alfresco.repo.action.executer.ActionExecuterAbstractBase
-
- org.alfresco.repo.activities.feed.ErrorProneActionExecutor
-
- All Implemented Interfaces:
ActionExecuter,LoggingAwareExecuter,TestModeable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class ErrorProneActionExecutor extends ActionExecuterAbstractBase implements org.springframework.beans.factory.InitializingBean, TestModeable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEstatic java.lang.StringPARAM_FAILING_PERSON_NODEREFstatic java.lang.StringPARAM_PERSON_NODEREFstatic java.lang.StringPARAM_USERNAME-
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 ErrorProneActionExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameterDefinitions(java.util.List<ParameterDefinition> paramList)Add the parameter definitionsvoidafterPropertiesSet()protected voidexecuteImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)Send an email messageintgetNumFailed()intgetNumSuccess()booleanisTestMode()voidsetTestMode(boolean testMode)-
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
-
PARAM_FAILING_PERSON_NODEREF
public static final java.lang.String PARAM_FAILING_PERSON_NODEREF
- See Also:
- Constant Field Values
-
PARAM_PERSON_NODEREF
public static final java.lang.String PARAM_PERSON_NODEREF
- See Also:
- Constant Field Values
-
PARAM_USERNAME
public static final java.lang.String PARAM_USERNAME
- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumSuccess
public int getNumSuccess()
-
getNumFailed
public int getNumFailed()
-
executeImpl
protected void executeImpl(Action ruleAction, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
Send an email message- Specified by:
executeImplin classActionExecuterAbstractBase- Parameters:
ruleAction- the actionactionedUponNodeRef- the actioned upon node- Throws:
org.alfresco.error.AlfrescoRuntimeException
-
addParameterDefinitions
protected void addParameterDefinitions(java.util.List<ParameterDefinition> paramList)
Add the parameter definitions- Specified by:
addParameterDefinitionsin classParameterizedItemAbstractBase- Parameters:
paramList- the parameter definitions list
-
isTestMode
public boolean isTestMode()
- Specified by:
isTestModein interfaceTestModeable
-
setTestMode
public void setTestMode(boolean testMode)
- Specified by:
setTestModein interfaceTestModeable
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
-