org.alfresco.service.cmr.action
Interface CompositeActionCondition

All Superinterfaces:
ActionCondition, ParameterizedItem
All Known Implementing Classes:
CompositeActionConditionImpl

public interface CompositeActionCondition
extends ActionCondition

Composite action condition


Field Summary
static java.lang.String COMPOSITE_CONDITION
           
 
Method Summary
 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
 java.util.List 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)
           
 
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 index
ActionCondition - the ActionCondition

setActionCondition

void setActionCondition(int index,
                        ActionCondition ActionCondition)
Replace the ActionCondition at the specified index with the passed ActionCondition.

Parameters:
index - the index
ActionCondition - the ActionCondition

indexOfActionCondition

int indexOfActionCondition(ActionCondition ActionCondition)
Gets the index of an ActionCondition

Parameters:
ActionCondition - the ActionCondition
Returns:
the index

getActionConditions

java.util.List 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)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.