edu.internet2.middleware.grouper.attr.assign
Class AttributeAssignActionSetDelegate

java.lang.Object
  extended by edu.internet2.middleware.grouper.attr.assign.AttributeAssignActionSetDelegate
All Implemented Interfaces:
Serializable

public class AttributeAssignActionSetDelegate
extends Object
implements Serializable

delegate the attribute assign action set

See Also:
Serialized Form

Constructor Summary
AttributeAssignActionSetDelegate(AttributeAssignAction attributeAssignAction1)
           
 
Method Summary
 boolean addToAttributeAssignActionSet(AttributeAssignAction newAttributeAssignAction)
          add the param to this's set.
 Set<String> getAttributeAssignActionNamesImpliedByThis()
          get action names implied by this
 Set<String> getAttributeAssignActionNamesImpliedByThisImmediate()
          get action names implied by this immediate
 Set<String> getAttributeAssignActionNamesThatImplyThis()
          get action names that imply this
 Set<String> getAttributeAssignActionNamesThatImplyThisImmediate()
          get action names that imply this immediate
 Set<AttributeAssignAction> getAttributeAssignActionsImpliedByThis()
          get all the THEN rows from attributeAssignActionSet about this id.
 Set<AttributeAssignAction> getAttributeAssignActionsImpliedByThisImmediate()
          get all the THEN rows from attributeAssignActionSet about this id (immediate only).
 Set<AttributeAssignAction> getAttributeAssignActionsThatImplyThis()
          get all the IF rows from attributeAssignActionSet about this id.
 Set<AttributeAssignAction> getAttributeAssignActionsThatImplyThisImmediate()
          get all the IF rows from attributeAssignActionSet about this id (immediate only).
 Set<String> getNewAttributeAssignActionNamesThatCanBeImpliedByThis()
          return actions which can be implied this, i.e.
 Set<String> getNewAttributeAssignActionNamesThatCanImplyThis()
          return actions which can imply this, i.e.
 boolean internal_addToAttributeAssignActionSet(AttributeAssignAction newAttributeAssignAction, String uuid)
           
 boolean removeFromAttributeAssignActionSet(AttributeAssignAction attributeAssignActionToRemove)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeAssignActionSetDelegate

public AttributeAssignActionSetDelegate(AttributeAssignAction attributeAssignAction1)
Parameters:
attributeAssignAction1 -
Method Detail

getAttributeAssignActionsImpliedByThis

public Set<AttributeAssignAction> getAttributeAssignActionsImpliedByThis()
get all the THEN rows from attributeAssignActionSet about this id. The ones returned are implied if this one is assigned. Those are the children, this is the parent

Returns:
set of attributeAssignActionSets, or empty set if none available

getAttributeAssignActionNamesImpliedByThis

public Set<String> getAttributeAssignActionNamesImpliedByThis()
get action names implied by this

Returns:
names

getAttributeAssignActionNamesImpliedByThisImmediate

public Set<String> getAttributeAssignActionNamesImpliedByThisImmediate()
get action names implied by this immediate

Returns:
names

getAttributeAssignActionNamesThatImplyThisImmediate

public Set<String> getAttributeAssignActionNamesThatImplyThisImmediate()
get action names that imply this immediate

Returns:
names

getAttributeAssignActionNamesThatImplyThis

public Set<String> getAttributeAssignActionNamesThatImplyThis()
get action names that imply this

Returns:
names

getAttributeAssignActionsImpliedByThisImmediate

public Set<AttributeAssignAction> getAttributeAssignActionsImpliedByThisImmediate()
get all the THEN rows from attributeAssignActionSet about this id (immediate only). The ones returned are implied if this one is assigned. Those are the children, this is the parent

Returns:
set of attributeAssignActionSets, or empty set if none available

getAttributeAssignActionsThatImplyThis

public Set<AttributeAssignAction> getAttributeAssignActionsThatImplyThis()
get all the IF rows from attributeAssignActionSet about this id. The ones returned imply that this is also assigned. Those are the parents, this is the child.

Returns:
set of attributeAssignActionSets, or empty set if none available

getAttributeAssignActionsThatImplyThisImmediate

public Set<AttributeAssignAction> getAttributeAssignActionsThatImplyThisImmediate()
get all the IF rows from attributeAssignActionSet about this id (immediate only). The ones returned imply that this is also assigned. Those are the parents, this is the child.

Returns:
set of attributeAssignActions, or empty set if none available

getNewAttributeAssignActionNamesThatCanImplyThis

public Set<String> getNewAttributeAssignActionNamesThatCanImplyThis()
return actions which can imply this, i.e. they already do not

Returns:
the set of action strings

getNewAttributeAssignActionNamesThatCanBeImpliedByThis

public Set<String> getNewAttributeAssignActionNamesThatCanBeImpliedByThis()
return actions which can be implied this, i.e. they already do not

Returns:
the set of action strings

addToAttributeAssignActionSet

public boolean addToAttributeAssignActionSet(AttributeAssignAction newAttributeAssignAction)
add the param to this's set. i.e. if this is "all", and the argument is "read", then after this call, then all will imply read

Parameters:
newAttributeAssignAction -
Returns:
true if added, false if already there

internal_addToAttributeAssignActionSet

public boolean internal_addToAttributeAssignActionSet(AttributeAssignAction newAttributeAssignAction,
                                                      String uuid)
Parameters:
newAttributeAssignAction -
uuid -
Returns:
true if added, false if already there

removeFromAttributeAssignActionSet

public boolean removeFromAttributeAssignActionSet(AttributeAssignAction attributeAssignActionToRemove)
Parameters:
attributeAssignActionToRemove -
Returns:
true if removed, false if already removed