Package org.alfresco.service.cmr.action
Interface CompositeActionCondition
- All Superinterfaces:
ActionCondition,ParameterizedItem
- All Known Implementing Classes:
CompositeActionConditionImpl
Composite action condition
- Author:
- Jean Barmash
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionCondition(int index, ActionCondition ActionCondition) Add an ActionCondition to the list at the index specifiedvoidaddActionCondition(ActionCondition ActionCondition) Add an ActionCondition to the end of the listgetActionCondition(int index) Get an ActionCondition at a given indexGet list containing the ActionConditions in their current orderbooleanIndicates whether there are any ConditionsintindexOfActionCondition(ActionCondition ActionCondition) Gets the index of an ActionConditionbooleanvoidremoveActionCondition(ActionCondition ActionCondition) Remove an ActionCondition from the listvoidRemove all ActionConditions from the listvoidsetActionCondition(int index, ActionCondition ActionCondition) Replace the ActionCondition at the specified index with the passed ActionCondition.voidsetORCondition(boolean andOr) Methods inherited from interface org.alfresco.service.cmr.action.ActionCondition
getActionConditionDefinitionName, getInvertCondition, setInvertConditionMethods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
Field Details
-
COMPOSITE_CONDITION
- See Also:
-
-
Method Details
-
hasActionConditions
boolean hasActionConditions()Indicates whether there are any Conditions- Returns:
- true if there are ActionConditions, false otherwise
-
addActionCondition
Add an ActionCondition to the end of the list- Parameters:
ActionCondition- the ActionCondition
-
addActionCondition
Add an ActionCondition to the list at the index specified- Parameters:
index- the indexActionCondition- the ActionCondition
-
setActionCondition
Replace the ActionCondition at the specified index with the passed ActionCondition.- Parameters:
index- the indexActionCondition- the ActionCondition
-
indexOfActionCondition
Gets the index of an ActionCondition- Parameters:
ActionCondition- the ActionCondition- Returns:
- the index
-
getActionConditions
List<ActionCondition> getActionConditions()Get list containing the ActionConditions in their current order- Returns:
- the list of ActionConditions
-
getActionCondition
Get an ActionCondition at a given index- Parameters:
index- the index- Returns:
- the ActionCondition
-
removeActionCondition
Remove an ActionCondition from the list- Parameters:
ActionCondition- the ActionCondition
-
removeAllActionConditions
void removeAllActionConditions()Remove all ActionConditions from the list -
isORCondition
boolean isORCondition() -
setORCondition
void setORCondition(boolean andOr)
-