Class AttributeDefActionDelegate
java.lang.Object
edu.internet2.middleware.grouper.attr.assign.AttributeDefActionDelegate
delegate the action management to this class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd an action if necessaryallowedAction
(String action, boolean exceptionWhenNotFound) get actionget (and cache) the allowed actionsint
configureActionList
(String list) configure the action list based on comma separated list of actionsint
configureActionList
(Collection<String> collection) configure the action list based on collection of actionsfindAction
(String name, boolean exceptionIfNull) retrieve an actioninternal_addAction
(String action, String uuid) add an actionvoid
removeAction
(String action) remove an action if necessaryvoid
replaceAllActionsWith
(Collection newActions) replace existing all actions with newActions
-
Constructor Details
-
AttributeDefActionDelegate
- Parameters:
attributeDef1
-
-
-
Method Details
-
configureActionList
configure the action list based on comma separated list of actions- Parameters:
list
-- Returns:
- number of changes
-
allowedActions
get (and cache) the allowed actions- Returns:
- the set of strings
-
findAction
retrieve an action- Parameters:
name
-exceptionIfNull
-- Returns:
- AttributeAssignAction
-
allowedAction
get action- Parameters:
exceptionWhenNotFound
-action
-- Returns:
- the action
-
allowedActionStrings
- Returns:
- the set of allowed action strings
-
configureActionList
configure the action list based on collection of actions- Parameters:
collection
-- Returns:
- the number of changed
-
internal_addAction
add an action- Parameters:
action
-uuid
-- Returns:
- the assign
-
addAction
add an action if necessary- Parameters:
action
-- Returns:
- action
-
removeAction
remove an action if necessary- Parameters:
action
-
-
replaceAllActionsWith
replace existing all actions with newActions- Parameters:
newActions
-
-