Class AttributeDefActionDelegate

java.lang.Object
edu.internet2.middleware.grouper.attr.assign.AttributeDefActionDelegate

public class AttributeDefActionDelegate extends Object
delegate the action management to this class
  • Constructor Details

    • AttributeDefActionDelegate

      public AttributeDefActionDelegate(AttributeDef attributeDef1)
      Parameters:
      attributeDef1 -
  • Method Details

    • configureActionList

      public int configureActionList(String list)
      configure the action list based on comma separated list of actions
      Parameters:
      list -
      Returns:
      number of changes
    • allowedActions

      public Set<AttributeAssignAction> allowedActions()
      get (and cache) the allowed actions
      Returns:
      the set of strings
    • findAction

      public AttributeAssignAction findAction(String name, boolean exceptionIfNull)
      retrieve an action
      Parameters:
      name -
      exceptionIfNull -
      Returns:
      AttributeAssignAction
    • allowedAction

      public AttributeAssignAction allowedAction(String action, boolean exceptionWhenNotFound)
      get action
      Parameters:
      exceptionWhenNotFound -
      action -
      Returns:
      the action
    • allowedActionStrings

      public Set<String> allowedActionStrings()
      Returns:
      the set of allowed action strings
    • configureActionList

      public int configureActionList(Collection<String> collection)
      configure the action list based on collection of actions
      Parameters:
      collection -
      Returns:
      the number of changed
    • internal_addAction

      public AttributeAssignAction internal_addAction(String action, String uuid)
      add an action
      Parameters:
      action -
      uuid -
      Returns:
      the assign
    • addAction

      public AttributeAssignAction addAction(String action)
      add an action if necessary
      Parameters:
      action -
      Returns:
      action
    • removeAction

      public void removeAction(String action)
      remove an action if necessary
      Parameters:
      action -
    • replaceAllActionsWith

      public void replaceAllActionsWith(Collection newActions)
      replace existing all actions with newActions
      Parameters:
      newActions -