public class AttributeDefActionDelegate extends Object
Constructor and Description |
---|
AttributeDefActionDelegate(AttributeDef attributeDef1) |
Modifier and Type | Method and Description |
---|---|
AttributeAssignAction |
addAction(String action)
add an action if necessary
|
AttributeAssignAction |
allowedAction(String action,
boolean exceptionWhenNotFound)
get action
|
Set<AttributeAssignAction> |
allowedActions()
get (and cache) the allowed actions
|
Set<String> |
allowedActionStrings() |
int |
configureActionList(Collection<String> collection)
configure the action list based on collection of actions
|
int |
configureActionList(String list)
configure the action list based on comma separated list of actions
|
AttributeAssignAction |
findAction(String name,
boolean exceptionIfNull)
retrieve an action
|
AttributeAssignAction |
internal_addAction(String action,
String uuid)
add an action
|
void |
removeAction(String action)
remove an action if necessary
|
void |
replaceAllActionsWith(Collection newActions)
replace existing all actions with newActions
|
public AttributeDefActionDelegate(AttributeDef attributeDef1)
attributeDef1
- public int configureActionList(String list)
list
- public Set<AttributeAssignAction> allowedActions()
public AttributeAssignAction findAction(String name, boolean exceptionIfNull)
name
- exceptionIfNull
- public AttributeAssignAction allowedAction(String action, boolean exceptionWhenNotFound)
exceptionWhenNotFound
- action
- public Set<String> allowedActionStrings()
public int configureActionList(Collection<String> collection)
collection
- public AttributeAssignAction internal_addAction(String action, String uuid)
action
- uuid
- public AttributeAssignAction addAction(String action)
action
- public void removeAction(String action)
action
- public void replaceAllActionsWith(Collection newActions)
newActions
- Copyright © 2016 Internet2. All rights reserved.