public abstract class AbstractActionManager extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
aaKey
Action name in a Additional Action dictionary
|
protected COSDictionary |
actionDictionnary
The action dictionary checked by this class
|
protected ActionManagerFactory |
actionFact
ActionManager factory used to create new ActionManager
|
protected PreflightContext |
context
The validation context
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getActionDictionnary() |
String |
getAdditionalActionKey() |
protected abstract boolean |
innerValid()
This method must be implemented by inherited classes to process specific validation.
|
boolean |
isAdditionalAction() |
boolean |
valid()
Call the valid(boolean, List) method with the additonalActionAuth set to false.
|
boolean |
valid(boolean additonalActionAuth)
Validate an Action dictionary.
|
protected boolean |
validNextActions()
This method create a list of Action Managers which represent actions in the Next entry of the current action
dictionary.
|
protected ActionManagerFactory actionFact
protected String aaKey
protected COSDictionary actionDictionnary
protected PreflightContext context
public boolean isAdditionalAction()
public COSDictionary getActionDictionnary()
public String getAdditionalActionKey()
protected boolean validNextActions() throws ValidationException
ValidationException
public boolean valid() throws ValidationException
error
- the validation error list to updated if the validation fails.ValidationException
public boolean valid(boolean additonalActionAuth) throws ValidationException
additonalActionAuth
- boolean to know if an additional action is authorized.ValidationException
protected abstract boolean innerValid()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.