public class CompositeActionConditionImpl extends ActionConditionImpl implements CompositeActionCondition
COMPOSITE_CONDITION
Constructor and Description |
---|
CompositeActionConditionImpl(String id) |
Modifier and Type | Method and Description |
---|---|
void |
addActionCondition(ActionCondition actionCondition)
Add an ActionCondition to the end of the list
|
void |
addActionCondition(int index,
ActionCondition actionCondition)
Add an ActionCondition to the list at the index specified
|
ActionCondition |
getActionCondition(int index)
Get an ActionCondition at a given index
|
List<ActionCondition> |
getActionConditions()
Get list containing the ActionConditions in their current order
|
boolean |
hasActionConditions()
Indicates whether there are any Conditions
|
int |
indexOfActionCondition(ActionCondition actionCondition)
Gets the index of an ActionCondition
|
boolean |
isORCondition() |
void |
removeActionCondition(ActionCondition actionCondition)
Remove an ActionCondition from the list
|
void |
removeAllActionConditions()
Remove all ActionConditions from the list
|
void |
setActionCondition(int index,
ActionCondition actionCondition)
Replace the ActionCondition at the specified index with the passed ActionCondition.
|
void |
setORCondition(boolean andOr) |
getActionConditionDefinitionName, getInvertCondition, setInvertCondition
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getActionConditionDefinitionName, getInvertCondition, setInvertCondition
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
public CompositeActionConditionImpl(String id)
public void addActionCondition(ActionCondition actionCondition)
CompositeActionCondition
addActionCondition
in interface CompositeActionCondition
actionCondition
- the ActionConditionpublic void addActionCondition(int index, ActionCondition actionCondition)
CompositeActionCondition
addActionCondition
in interface CompositeActionCondition
index
- the indexactionCondition
- the ActionConditionpublic ActionCondition getActionCondition(int index)
CompositeActionCondition
getActionCondition
in interface CompositeActionCondition
index
- the indexpublic List<ActionCondition> getActionConditions()
CompositeActionCondition
getActionConditions
in interface CompositeActionCondition
public boolean hasActionConditions()
CompositeActionCondition
hasActionConditions
in interface CompositeActionCondition
public int indexOfActionCondition(ActionCondition actionCondition)
CompositeActionCondition
indexOfActionCondition
in interface CompositeActionCondition
actionCondition
- the ActionConditionpublic void removeActionCondition(ActionCondition actionCondition)
CompositeActionCondition
removeActionCondition
in interface CompositeActionCondition
actionCondition
- the ActionConditionpublic void removeAllActionConditions()
CompositeActionCondition
removeAllActionConditions
in interface CompositeActionCondition
public void setActionCondition(int index, ActionCondition actionCondition)
CompositeActionCondition
setActionCondition
in interface CompositeActionCondition
index
- the indexactionCondition
- the ActionConditionpublic boolean isORCondition()
isORCondition
in interface CompositeActionCondition
public void setORCondition(boolean andOr)
setORCondition
in interface CompositeActionCondition
Copyright © 2005–2017 Alfresco Software. All rights reserved.