EchoPoint
1.0

echopoint.validation
Interface ValidationSubmitter

All Known Implementing Classes:
PushButton

public interface ValidationSubmitter

An object that implements ValidationSubmitter will cause validation to occur before a server submit is allowed to occur.


Field Summary
static int RULESETS_RUN_ALL
          Used to indicate that during a server submit event, all the rule sets present should be run, even if one of them fails.
static int RULESETS_RUN_DEFAULT
          Used to indicate that during a server submit event, if one of the rule sets present fails, then the validation process should stop.
 
Method Summary
 int getRunOptions()
          This method is used to the run options for running all rule sets that might be present.
 boolean isValidationEnabled()
          Returns true if this ValidationSubmitter is in fact active and will cause server submit validation to occur.
 

Field Detail

RULESETS_RUN_DEFAULT

public static final int RULESETS_RUN_DEFAULT
Used to indicate that during a server submit event, if one of the rule sets present fails, then the validation process should stop.

See Also:
Constant Field Values

RULESETS_RUN_ALL

public static final int RULESETS_RUN_ALL
Used to indicate that during a server submit event, all the rule sets present should be run, even if one of them fails.

See Also:
Constant Field Values
Method Detail

isValidationEnabled

public boolean isValidationEnabled()
Returns true if this ValidationSubmitter is in fact active and will cause server submit validation to occur. If it returns false, the no validation will occur during server submit.

Returns:
true if validation is to occur during server submit.

getRunOptions

public int getRunOptions()
This method is used to the run options for running all rule sets that might be present.

Returns:
the run options in place

EchoPoint
1.0