Package org.alfresco.service.cmr.action
Interface ParameterizedItem
- All Known Subinterfaces:
Action,ActionCondition,CancellableAction,CompositeAction,CompositeActionCondition,CompositeRenditionDefinition,QuickShareLinkExpiryAction,RenditionDefinition,ReplicationDefinition
- All Known Implementing Classes:
ActionConditionImpl,ActionImpl,CompositeActionConditionImpl,CompositeActionImpl,CompositeRenditionDefinitionImpl,ParameterizedItemImpl,QuickShareLinkExpiryActionImpl,RenditionDefinitionImpl,ReplicationDefinitionImpl
@AlfrescoPublicApi
public interface ParameterizedItem
Rule item interface
- Author:
- Roy Wetherall
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Unique identifier for the parameterized itemgetParameterValue(String name) Get value of a named parameter.Get the parameter valuesvoidsetParameterValue(String name, Serializable value) Sets the value of a parameter.voidsetParameterValues(Map<String, Serializable> parameterValues) Sets the parameter values
-
Method Details
-
getId
String getId()Unique identifier for the parameterized item- Returns:
- the id string
-
getParameterValues
Map<String,Serializable> getParameterValues()Get the parameter values- Returns:
- get the parameter values
-
getParameterValue
Get value of a named parameter.- Parameters:
name- the parameter name- Returns:
- the value of the parameter
-
setParameterValues
Sets the parameter values- Parameters:
parameterValues- the parameter values
-
setParameterValue
Sets the value of a parameter.- Parameters:
name- the parameter namevalue- the parameter value
-