|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
public abstract class ParameterizedItemAbstractBase
Rule item abstract base.
Helper base class used by the action exector and condition evaluator implementations.
Field Summary | |
---|---|
protected static java.lang.String |
DISPLAY_LABEL
|
protected RuntimeActionService |
runtimeActionService
Action service |
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
name |
Constructor Summary | |
---|---|
ParameterizedItemAbstractBase()
|
Method Summary | |
---|---|
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()
|
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 |
---|
protected static final java.lang.String DISPLAY_LABEL
protected RuntimeActionService runtimeActionService
Constructor Detail |
---|
public ParameterizedItemAbstractBase()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
protected 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 parameter
protected void checkMandatoryProperties(ParameterizedItem ruleItem, ParameterizedItemDefinition ruleItemDefinition)
ruleItem
- the rule itemruleItemDefinition
- the rule item definition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |