public abstract class ParameterizedItemDefinitionImpl extends Object implements ParameterizedItemDefinition, Serializable
Constructor and Description |
---|
ParameterizedItemDefinitionImpl(String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAdhocPropertiesAllowed()
Indicates whether the parameterized item allows adhoc properties to be set
|
String |
getDescription()
The description of the parameterized item definition
|
String |
getName()
Get the name of the rule item.
|
List<ParameterDefinition> |
getParameterDefinitions()
A list containing the parmameter defintions for this rule item.
|
ParameterDefinition |
getParameterDefintion(String name)
Get the parameter definition by name
|
String |
getTitle()
The title of the parameterized item definition
|
boolean |
hasParameterDefinitions()
Indicates whether the parameterized item has any parameter definitions
|
void |
setAdhocPropertiesAllowed(boolean adhocPropertiesAllowed)
Set whether adhoc properties are allowed
|
void |
setDescriptionKey(String descriptionKey)
Set the description I18N key
|
void |
setLocalizedParameterDefinitions(Map<Locale,List<ParameterDefinition>> parameterDefinitions)
Set the parameter definitions for the rule item with the locale specified
|
void |
setParameterDefinitions(List<ParameterDefinition> parameterDefinitions)
Set the parameter definitions for the rule item
|
void |
setTitleKey(String title)
Set the title of the rule item
|
public ParameterizedItemDefinitionImpl(String name)
name
- the namepublic String getName()
ParameterizedItemDefinition
The name is unique and is used to identify the rule item.
getName
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.getName()
public void setTitleKey(String title)
title
- the titlepublic String getTitle()
ParameterizedItemDefinition
getTitle
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.getTitle()
public void setDescriptionKey(String descriptionKey)
descriptionKey
- the description keypublic String getDescription()
ParameterizedItemDefinition
getDescription
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.getDescription()
public boolean getAdhocPropertiesAllowed()
ParameterizedItemDefinition
getAdhocPropertiesAllowed
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.getAdhocPropertiesAllowed()
public void setAdhocPropertiesAllowed(boolean adhocPropertiesAllowed)
adhocPropertiesAllowed
- true is adhoc properties are allowed, false otherwisepublic void setLocalizedParameterDefinitions(Map<Locale,List<ParameterDefinition>> parameterDefinitions)
parameterDefinitions
- the parameter definitionspublic void setParameterDefinitions(List<ParameterDefinition> parameterDefinitions)
parameterDefinitions
- the parameter definitionspublic boolean hasParameterDefinitions()
ParameterizedItemDefinition
hasParameterDefinitions
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.hasParameterDefinitions()
public List<ParameterDefinition> getParameterDefinitions()
ParameterizedItemDefinition
getParameterDefinitions
in interface ParameterizedItemDefinition
ParameterizedItemDefinition.getParameterDefinitions()
public ParameterDefinition getParameterDefintion(String name)
ParameterizedItemDefinition
getParameterDefintion
in interface ParameterizedItemDefinition
name
- the name of the parameterParameterizedItemDefinition.getParameterDefintion(java.lang.String)
Copyright © 2005–2017 Alfresco Software. All rights reserved.