Package org.alfresco.service.cmr.action
Interface ParameterizedItemDefinition
- All Known Subinterfaces:
ActionConditionDefinition,ActionDefinition,RenderingEngineDefinition
- All Known Implementing Classes:
ActionConditionDefinitionImpl,ActionDefinitionImpl,ParameterizedItemDefinitionImpl,RenderingEngineDefinitionImpl
@AlfrescoPublicApi
public interface ParameterizedItemDefinition
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the parameterized item allows adhoc properties to be setThe description of the parameterized item definitiongetName()Get the name of the rule item.A list containing the parmameter defintions for this rule item.getParameterDefintion(String name) Get the parameter definition by namegetTitle()The title of the parameterized item definitionbooleanIndicates whether the parameterized item has any parameter definitions
-
Method Details
-
getName
String getName()Get the name of the rule item.The name is unique and is used to identify the rule item.
- Returns:
- the name of the rule action
-
getTitle
String getTitle()The title of the parameterized item definition- Returns:
- the title
-
getDescription
String getDescription()The description of the parameterized item definition- Returns:
- the description
-
getAdhocPropertiesAllowed
boolean getAdhocPropertiesAllowed()Indicates whether the parameterized item allows adhoc properties to be set- Returns:
- true if ashoc properties are allowed, false otherwise
-
hasParameterDefinitions
boolean hasParameterDefinitions()Indicates whether the parameterized item has any parameter definitions- Returns:
- true if the parameterized item has any parameter definitions, false otherwise
-
getParameterDefinitions
List<ParameterDefinition> getParameterDefinitions()A list containing the parmameter defintions for this rule item.- Returns:
- a list of parameter definitions
-
getParameterDefintion
Get the parameter definition by name- Parameters:
name- the name of the parameter- Returns:
- the parameter definition, null if none found
-