Package org.alfresco.service.cmr.action
Interface CompositeActionCondition
-
- All Superinterfaces:
ActionCondition,ParameterizedItem
- All Known Implementing Classes:
CompositeActionConditionImpl
@AlfrescoPublicApi public interface CompositeActionCondition extends ActionCondition
Composite action condition- Author:
- Jean Barmash
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPOSITE_CONDITION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddActionCondition(int index, ActionCondition ActionCondition)Add an ActionCondition to the list at the index specifiedvoidaddActionCondition(ActionCondition ActionCondition)Add an ActionCondition to the end of the listActionConditiongetActionCondition(int index)Get an ActionCondition at a given indexjava.util.List<ActionCondition>getActionConditions()Get list containing the ActionConditions in their current orderbooleanhasActionConditions()Indicates whether there are any ConditionsintindexOfActionCondition(ActionCondition ActionCondition)Gets the index of an ActionConditionbooleanisORCondition()voidremoveActionCondition(ActionCondition ActionCondition)Remove an ActionCondition from the listvoidremoveAllActionConditions()Remove 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, setInvertCondition
-
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
-
-
-
-
Field Detail
-
COMPOSITE_CONDITION
static final java.lang.String COMPOSITE_CONDITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasActionConditions
boolean hasActionConditions()
Indicates whether there are any Conditions- Returns:
- true if there are ActionConditions, false otherwise
-
addActionCondition
void addActionCondition(ActionCondition ActionCondition)
Add an ActionCondition to the end of the list- Parameters:
ActionCondition- the ActionCondition
-
addActionCondition
void addActionCondition(int index, ActionCondition ActionCondition)Add an ActionCondition to the list at the index specified- Parameters:
index- the indexActionCondition- the ActionCondition
-
setActionCondition
void setActionCondition(int index, ActionCondition ActionCondition)Replace the ActionCondition at the specified index with the passed ActionCondition.- Parameters:
index- the indexActionCondition- the ActionCondition
-
indexOfActionCondition
int indexOfActionCondition(ActionCondition ActionCondition)
Gets the index of an ActionCondition- Parameters:
ActionCondition- the ActionCondition- Returns:
- the index
-
getActionConditions
java.util.List<ActionCondition> getActionConditions()
Get list containing the ActionConditions in their current order- Returns:
- the list of ActionConditions
-
getActionCondition
ActionCondition getActionCondition(int index)
Get an ActionCondition at a given index- Parameters:
index- the index- Returns:
- the ActionCondition
-
removeActionCondition
void removeActionCondition(ActionCondition ActionCondition)
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)
-
-