public abstract class ParameterizedItemAbstractBase extends CommonResourceAbstractBase
Helper base class used by the action exector and condition evaluator implementations.
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DISPLAY_LABEL |
protected RuntimeActionService |
runtimeActionService
Action service
|
name| Constructor and Description |
|---|
ParameterizedItemAbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addParameterDefinitions(java.util.List paramList)
Adds the parameter definitions to the list
|
protected void |
checkMandatoryProperties(ParameterizedItem ruleItem,
ParameterizedItemDefinition ruleItemDefinition)
Checked whether all the mandatory parameters for the rule item have been assigned.
|
protected boolean |
getAdhocPropertiesAllowed()
Indicates whether adhoc property definitions are allowed or not
|
protected java.lang.String |
getDescriptionKey()
Gets the description I18N key
|
protected java.lang.String |
getParamDisplayLabel(java.lang.String paramName)
Gets the parameter definition display label from the properties file.
|
protected java.util.List |
getParameterDefintions()
Gets a list containing the parameter definitions for this rule item.
|
protected java.lang.String |
getTitleKey()
Gets the title I18N key
|
void |
setRuntimeActionService(RuntimeActionService runtimeActionService)
Sets the action service
|
java.lang.String |
toString() |
setBeanNameprotected static final java.lang.String DISPLAY_LABEL
protected RuntimeActionService runtimeActionService
public java.lang.String toString()
toString in class java.lang.Objectprotected java.util.List getParameterDefintions()
protected abstract void addParameterDefinitions(java.util.List paramList)
paramList - the parameter definitions listpublic void setRuntimeActionService(RuntimeActionService runtimeActionService)
actionRegistration - the action serviceprotected java.lang.String getTitleKey()
protected java.lang.String getDescriptionKey()
protected boolean getAdhocPropertiesAllowed()
protected java.lang.String getParamDisplayLabel(java.lang.String paramName)
paramName - the name of the parameterprotected void checkMandatoryProperties(ParameterizedItem ruleItem, ParameterizedItemDefinition ruleItemDefinition)
ruleItem - the rule itemruleItemDefinition - the rule item definitionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.