public abstract class AbstractActionManager extends Object
Modifier and Type | Field and Description |
---|---|
protected COSDictionary |
actionDictionnary
The action dictionary checked by this class
|
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) method with the additionalActionAuth 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 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
valid(boolean)
method with the additionalActionAuth set to false.ValidationException
public boolean valid(boolean additonalActionAuth) throws ValidationException
additonalActionAuth
- boolean to know if an additional action is authorized.ValidationException
protected abstract boolean innerValid() throws ValidationException
ValidationException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.