A B C D E F G H I K L M N O P R S T V

A

AbstractFieldPopulator - class nl.openedge.baritus.population.AbstractFieldPopulator.
Convenience class for populators.
AbstractFieldPopulator() - Constructor for class nl.openedge.baritus.population.AbstractFieldPopulator
default constructor
AbstractFieldPopulator(FormBeanCtrlBase) - Constructor for class nl.openedge.baritus.population.AbstractFieldPopulator
constructor with control
AbstractFieldValidator - class nl.openedge.baritus.validation.AbstractFieldValidator.
Convenience class with default error message handling.
AbstractFieldValidator() - Constructor for class nl.openedge.baritus.validation.AbstractFieldValidator
Construct emtpy.
AbstractFieldValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.AbstractFieldValidator
Construct with the given rule.
AbstractFormValidator - class nl.openedge.baritus.validation.AbstractFormValidator.
Convenience class with default error message handling.
AbstractFormValidator() - Constructor for class nl.openedge.baritus.validation.AbstractFormValidator
Construct emtpy.
AbstractFormValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.AbstractFormValidator
Construct with the given rule.
AbstractValidator - class nl.openedge.baritus.validation.AbstractValidator.
convenience class
AbstractValidator() - Constructor for class nl.openedge.baritus.validation.AbstractValidator
construct
AbstractValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.AbstractValidator
construct with validator activation rule
AfterPerformInterceptor - interface nl.openedge.baritus.interceptors.AfterPerformInterceptor.
Registered instances will have their command method executed after the normal action execution took place.
AfterPopulationInterceptor - interface nl.openedge.baritus.interceptors.AfterPopulationInterceptor.
Registered instances will have their command method executed before the normal action execution took place, but after the form bean was populated.
addAllRules(List) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
add list of rules to current list of rules.
addInterceptor(Interceptor) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Add an interceptor to the current list of interceptors.
addInterceptor(int, Interceptor) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Add an interceptor to the current list of interceptors at the specified position.
addPopulator(String, FieldPopulator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register a field populator for the given fieldName.
addPopulator(Pattern, FieldPopulator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register a custom populator that overrides the default population process for all request parameters that match the regular expression stored in the provided pattern.
addPopulator(String, FieldPopulator) - Method in class nl.openedge.baritus.PopulatorRegistry
Register a field populator for the given fieldName.
addPopulator(Pattern, FieldPopulator) - Method in class nl.openedge.baritus.PopulatorRegistry
Register a custom populator that overrides the default population process for all request parameters that match the regular expression stored in the provided pattern.
addRule(ValidationActivationRule) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
add a validation activation rule to the end of the list.
addRule(int, ValidationActivationRule) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
add a validation activation rule to the list at the provided position.
addValidationActivationRule(ValidationActivationRule) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register the rule for the whole form.
addValidationActivationRule(ValidationActivationRule) - Method in class nl.openedge.baritus.ValidatorRegistry
register the rule for the whole form
addValidator(String, FieldValidator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register a field validator for the given fieldName.
addValidator(FormValidator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register a form validator.
addValidator(String, FieldValidator) - Method in class nl.openedge.baritus.ValidatorRegistry
register a field validator for the given fieldName.
addValidator(FormValidator) - Method in class nl.openedge.baritus.ValidatorRegistry
register a form validator.
addValidatorDelegate(ValidatorDelegate) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Add a validator delegate.
allowValidation(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.validation.ValidationActivationRule
returns whether validation with custom fieldValidators should be performed in this currentRequest.
allowValidation(ControllerContext, FormBeanContext) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
allows validation if all nested rules return true.

B

BARITUS_LOG - Static variable in interface nl.openedge.baritus.LogConstants
base log. value: nl.openedge.baritus.
BaseLocaleConverter - class nl.openedge.baritus.converters.BaseLocaleConverter.
base class for localized converters
BaseLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.BaseLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
BaseLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.BaseLocaleConverter
Create a LocaleConverter that will throw a ConversionException if an conversion error occurs.
BeforeMakeFormBeanInterceptor - interface nl.openedge.baritus.interceptors.BeforeMakeFormBeanInterceptor.
Registered instances will have their command method executed before the method makeFormBean is called.
BeforePopulationInterceptor - interface nl.openedge.baritus.interceptors.BeforePopulationInterceptor.
Registered instances will have their command method executed before population and validation is done.
BooleanConverter - class nl.openedge.baritus.converters.BooleanConverter.
Converter implementation that converts an incoming String into a java.lang.Boolean object, throwing a ConversionException if a conversion error occurs.
BooleanConverter() - Constructor for class nl.openedge.baritus.converters.BooleanConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
ByteConverter - class nl.openedge.baritus.converters.ByteConverter.
Converter implementation that converts an incoming String into a java.lang.Byte object, throwing a ConversionException if a conversion error occurs.
ByteConverter() - Constructor for class nl.openedge.baritus.converters.ByteConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
ByteLocaleConverter - class nl.openedge.baritus.converters.ByteLocaleConverter.
localized byte converter
ByteLocaleConverter() - Constructor for class nl.openedge.baritus.converters.ByteLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ByteLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.ByteLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ByteLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.ByteLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ByteLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.ByteLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.

C

CTX_KEY_CURRENT_CONVERTER - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current converter
CTX_KEY_CURRENT_EXEC_PARAMS - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current execution parameters
CTX_KEY_CURRENT_FIELD_NAME - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current field name expression
CTX_KEY_CURRENT_LOCALE - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current locale
CTX_KEY_CURRENT_TARGET_TYPE - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current target type
CTX_KEY_CURRENT_TRIED_VALUE - Static variable in class nl.openedge.baritus.population.OgnlFieldPopulator
context key for current tried value
CharacterConverter - class nl.openedge.baritus.converters.CharacterConverter.
Converter implementation that converts an incoming String into a java.lang.Character object, throwing a ConversionException if a conversion error occurs.
CharacterConverter() - Constructor for class nl.openedge.baritus.converters.CharacterConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
ConversionException - exception nl.openedge.baritus.converters.ConversionException.
Modified ConversionException that saves the desired pattern as an extra field
ConversionException(String) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with message.
ConversionException(String, String) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with message and desired pattern.
ConversionException(String, Throwable) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with message and cause.
ConversionException(String, Throwable, String) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with message, cause and desired pattern.
ConversionException(Throwable) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with cause.
ConversionException(Throwable, String) - Constructor for class nl.openedge.baritus.converters.ConversionException
Construct exception with cause and desired pattern.
Converter - interface nl.openedge.baritus.converters.Converter.
General purpose data type converter.
ConverterRegistry - class nl.openedge.baritus.ConverterRegistry.
Global registry for converters.
clear() - Method in class nl.openedge.baritus.ConverterRegistry
clear all registrations
clear() - Method in class nl.openedge.baritus.FormBeanContext
clear the attributes
clear() - Method in class nl.openedge.baritus.util.MultiHashMap
Clear the map.
clear() - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
clear the list of rules.
clone() - Method in class nl.openedge.baritus.ExecutionParams
Clone this object.
clone() - Method in class nl.openedge.baritus.util.MultiHashMap
Clone the map.
containsKey(Object) - Method in class nl.openedge.baritus.FormBeanContext
is the provided key the key of an attribute
containsValue(Object) - Method in class nl.openedge.baritus.FormBeanContext
is the provided value stored as an attribute
containsValue(Object) - Method in class nl.openedge.baritus.util.MultiHashMap
Does the map contain a specific value.
convert(Object) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
Convert the specified locale-sensitive input object into an output object.
convert(Object, String) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
Convert the specified locale-sensitive input object into an output object.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.BooleanConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.ByteConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.ByteLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.CharacterConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object) - Method in interface nl.openedge.baritus.converters.Converter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.DateLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.DoubleConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.DoubleLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.FloatConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.FloatLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.IntegerConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in interface nl.openedge.baritus.converters.LocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.LongConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.LongLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convert(Class, Object) - Method in class nl.openedge.baritus.converters.NoopConverter
noop; return value as was provided
convert(Class, Object) - Method in class nl.openedge.baritus.converters.ShortConverter
Convert the specified input object into an output object of the specified type.
convert(Class, Object, String) - Method in class nl.openedge.baritus.converters.ShortLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
convertToString(Object) - Static method in class nl.openedge.baritus.util.ValueUtils
Convert the specified value into a String.
convertValue(Map, Object, Class) - Method in class nl.openedge.baritus.population.OgnlConverterWrapper
Convert the provided value to provided type using provided context.
convertValue(Map, Object, Member, String, Object, Class) - Method in class nl.openedge.baritus.population.OgnlConverterWrapper
This method is only here to satisfy the interface.
createCollection(Collection) - Method in class nl.openedge.baritus.util.MultiHashMap
Creates a new instance of the map value Collection container.
ctrl - Variable in class nl.openedge.baritus.population.AbstractFieldPopulator
reference to the controller

D

DateLocaleConverter - class nl.openedge.baritus.converters.DateLocaleConverter.
Standard LocaleConverter implementation that converts an incoming locale-sensitive String into a java.util.Date object, optionally using a default value or throwing a ConversionException if a conversion error occurs.
DateLocaleConverter() - Constructor for class nl.openedge.baritus.converters.DateLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DateLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.DateLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DateLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.DateLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DecimalLocaleConverter - class nl.openedge.baritus.converters.DecimalLocaleConverter.
Modified LocaleConverter implementation for this framework
DecimalLocaleConverter() - Constructor for class nl.openedge.baritus.converters.DecimalLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DecimalLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.DecimalLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DecimalLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.DecimalLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DecimalLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.DecimalLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DefaultValidatorDelegate - class nl.openedge.baritus.DefaultValidatorDelegate.
 
DefaultValidatorDelegate(ValidatorRegistry, FormBeanCtrlBase) - Constructor for class nl.openedge.baritus.DefaultValidatorDelegate
construct with validator registry and instance of ctrl
DispatchNowFlowException - exception nl.openedge.baritus.interceptors.DispatchNowFlowException.
Flow exception; is thrown when an interceptor wants to dispatch to another URL immediately.
DispatchNowFlowException(String) - Constructor for class nl.openedge.baritus.interceptors.DispatchNowFlowException
Construct with dispatch path.
DoubleConverter - class nl.openedge.baritus.converters.DoubleConverter.
Converter implementation that converts an incoming String into a java.lang.Double object, throwing a ConversionException if a conversion error occurs.
DoubleConverter() - Constructor for class nl.openedge.baritus.converters.DoubleConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
DoubleLocaleConverter - class nl.openedge.baritus.converters.DoubleLocaleConverter.
locale aware converter for doubles
DoubleLocaleConverter() - Constructor for class nl.openedge.baritus.converters.DoubleLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DoubleLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.DoubleLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DoubleLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.DoubleLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
DoubleLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.DoubleLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
deregister(Class, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
Remove any registered Converter for the specified destination Class and Locale.
deregister(Class) - Method in class nl.openedge.baritus.ConverterRegistry
Remove any registered Converter for the specified destination Class.
deregister(LocaleConverter) - Method in class nl.openedge.baritus.ConverterRegistry
Remove the instances of registered LocaleConverter
deregister(String) - Method in class nl.openedge.baritus.ConverterRegistry
Remove any registered Formatter for the specified key
deregister(String, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
deregister a global formatter with the given key and locale
deregisterByConverterClass(Class) - Method in class nl.openedge.baritus.ConverterRegistry
Remove all instances registered Converter by class of converter
displayProperty(String) - Method in class nl.openedge.baritus.FormBeanContext
Get the display string of the property with the given name without using a pattern.
displayProperty(String, String) - Method in class nl.openedge.baritus.FormBeanContext
Get the display string of the property with the given name, optionally using the given pattern.
doAfterPerform(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.interceptors.AfterPerformInterceptor
Executed after the normal action execution took place.
doAfterPopulation(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.interceptors.AfterPopulationInterceptor
Executed before the normal action execution takes place, but after the form bean was populated.
doBeforeMakeFormBean(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.interceptors.BeforeMakeFormBeanInterceptor
Executed before the method makeFormBean is called.
doBeforePopulation(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.interceptors.BeforePopulationInterceptor
Registered instances will have their command method executed before population and validation is done.
doOnPerformException(ControllerContext, FormBeanContext, Exception) - Method in interface nl.openedge.baritus.interceptors.PerformExceptionInterceptor
Executed if an unhandeld exception occured while executing the perform method.
doOnPopulationError(ControllerContext, FormBeanContext, Exception) - Method in interface nl.openedge.baritus.interceptors.PopulationErrorInterceptor
Executed if the model failed to populate, or did not pass validation.
doSetNoCache(ControllerContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Set http response headers that indicate that this page should not be cached.
doValidation(ControllerContext, FormBeanContext, ExecutionParams, Map, boolean) - Method in class nl.openedge.baritus.DefaultValidatorDelegate
 

E

ERROR - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Common name for the typical "error" view.
ERROR_KEY_EXCEPTION - Static variable in class nl.openedge.baritus.FormBeanContext
error key for stacktrace if any
ERROR_KEY_STACKTRACE - Static variable in class nl.openedge.baritus.FormBeanContext
error key for stacktrace if any
EXECUTION_PARAMS_LOG - Static variable in interface nl.openedge.baritus.LogConstants
log name for logging of execution params. value: nl.openedge.baritus.executionparams
ExecutionParams - class nl.openedge.baritus.ExecutionParams.
Each instance of FormBeanBase keeps an instance of ExecutionParams.
ExecutionParams() - Constructor for class nl.openedge.baritus.ExecutionParams
 
entrySet() - Method in class nl.openedge.baritus.FormBeanContext
get the entries of the attributes

F

FORMATTING_LOG - Static variable in interface nl.openedge.baritus.LogConstants
log name for format logging. value: nl.openedge.baritus.formatting
FieldPopulator - interface nl.openedge.baritus.population.FieldPopulator.
A field populator knows how to populate properties from (request) parameters.
FieldValidator - interface nl.openedge.baritus.validation.FieldValidator.
Use this for custom validation
FloatConverter - class nl.openedge.baritus.converters.FloatConverter.
Converter implementation that converts an incoming String into a java.lang.Float object, throwing a ConversionException if a conversion error occurs.
FloatConverter() - Constructor for class nl.openedge.baritus.converters.FloatConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
FloatLocaleConverter - class nl.openedge.baritus.converters.FloatLocaleConverter.
localized float converter
FloatLocaleConverter() - Constructor for class nl.openedge.baritus.converters.FloatLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
FloatLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.FloatLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
FloatLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.FloatLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
FloatLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.FloatLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
FlowException - exception nl.openedge.baritus.interceptors.FlowException.
Flow exception; base exception for flow exceptions.
FlowException() - Constructor for class nl.openedge.baritus.interceptors.FlowException
 
FormBeanContext - class nl.openedge.baritus.FormBeanContext.
FormBeanContext wraps the form bean, errors the current locale and overrideFields.
FormBeanContext() - Constructor for class nl.openedge.baritus.FormBeanContext
 
FormBeanCtrl - class nl.openedge.baritus.FormBeanCtrl.
Singleton implementation.
FormBeanCtrl() - Constructor for class nl.openedge.baritus.FormBeanCtrl
 
FormBeanCtrlBase - class nl.openedge.baritus.FormBeanCtrlBase.
FormBeanBase is the class that does the real work within Baritus.
FormBeanCtrlBase() - Constructor for class nl.openedge.baritus.FormBeanCtrlBase
 
FormValidator - interface nl.openedge.baritus.validation.FormValidator.
Use this for custom validation on form level formValidators will be called AFTER field validators executed
Formatter - interface nl.openedge.baritus.converters.Formatter.
Interface for formatting values.
fixExecutionParams(ExecutionParams) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Save the execution params that are used to influence the execution of the formBeanCtrl (like population, validation, etc).
format(Object) - Method in class nl.openedge.baritus.FormBeanContext
Format the given value, independent of the current form, using the class of the value to lookup a formatter.
format(Object, String) - Method in class nl.openedge.baritus.FormBeanContext
Format the given value, independent of the current form, using the class of the value to lookup a formatter using the provided pattern.
format(String, Object) - Method in class nl.openedge.baritus.FormBeanContext
Format the given value, independent of the current form, using the provided name of the formatter to lookup the formatter or - if no formatter was found - using the class of the value to lookup the formatter.
format(String, Object, String) - Method in class nl.openedge.baritus.FormBeanContext
Format the given value, independent of the current form using: 1. look in the ConverterRegistry if a formatter was stored with the formatterName and optionally locale as key; 2. if not found, look in the ConverterRegistry if a formatter was stored with the pattern and optionally the locale as key; 3. if not found, look in the ConverterRegistry if a Converter was stored for the type of the property that implements Formatter (as well as Converter);
format(Object, String) - Method in class nl.openedge.baritus.converters.DateLocaleConverter
format value with pattern or using the default pattern
format(Object, String) - Method in class nl.openedge.baritus.converters.DecimalLocaleConverter
Convert the specified input object into a locale-sensitive output string
format(Object, String) - Method in interface nl.openedge.baritus.converters.Formatter
Convert the specified input object into a locale-sensitive output string

G

get(Object) - Method in class nl.openedge.baritus.FormBeanContext
Returns the value to which the attributes map maps the specified key.
getBREAKSYMBOLS() - Static method in class nl.openedge.baritus.DefaultValidatorDelegate
 
getBean() - Method in class nl.openedge.baritus.FormBeanContext
Get the form bean.
getController() - Method in class nl.openedge.baritus.FormBeanContext
get current controller
getConversionErrorLabelKey(Class, String, Object) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get the message bundle key for a conversion error for the given type and field with the given name.
getCtrl() - Method in class nl.openedge.baritus.population.AbstractFieldPopulator
get reference to the controller
getCurrentLocale() - Method in class nl.openedge.baritus.FormBeanContext
Get the current locale.
getDateStyle() - Method in class nl.openedge.baritus.converters.DateLocaleConverter
get date style
getDefaultFieldPopulator() - Method in class nl.openedge.baritus.PopulatorRegistry
get the default field populator
getDefaultPopulator() - Method in class nl.openedge.baritus.FormBeanCtrlBase
get the default field populator
getDesiredPattern() - Method in class nl.openedge.baritus.converters.ConversionException
Get the desired pattern.
getDispatchPath() - Method in class nl.openedge.baritus.interceptors.DispatchNowFlowException
Get the path to dispatch to
getError(String) - Method in class nl.openedge.baritus.FormBeanContext
Get the registered error for one field.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Get key of error message.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Get key of error message.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
Get key of error message.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.RegexValidator
Get key of error message.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Get key of error message.
getErrorMessageKey() - Method in class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Get key of error message.
getErrorView(ControllerContext, FormBeanContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get error view.
getErrors() - Method in class nl.openedge.baritus.FormBeanContext
Get the map with errors.
getExecutionParams(ControllerContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get a deep copy of the execution params that are used to influence the execution of the formBeanCtrl (like population, validation, etc).
getFieldName(FormBeanContext, String) - Method in class nl.openedge.baritus.validation.AbstractValidator
Get the - possibly translated - name of the field.
getFieldPopulator(String) - Method in class nl.openedge.baritus.PopulatorRegistry
get the field populator for the provided fieldName, null if none registered
getFieldPopulators() - Method in class nl.openedge.baritus.PopulatorRegistry
get the field populators
getFieldValidators() - Method in class nl.openedge.baritus.ValidatorRegistry
get all field validators
getFormValidators() - Method in class nl.openedge.baritus.ValidatorRegistry
get all form validators
getFormat(String) - Method in class nl.openedge.baritus.converters.DecimalLocaleConverter
get format and optionally apply pattern if given
getFormatter(String, String, Class, Locale) - Method in class nl.openedge.baritus.FormBeanContext
Get the formatter for the given fieldname/ class/ locale. 1. look in the ConverterRegistry if a formatter was stored with the formatterName and optionally locale as key. 2. if not found, look in the ConverterRegistry if a formatter was stored with the pattern and optionally the locale as key. 3. if not found, look in the ConverterRegistry if a Converter was stored for the type of the property that implements Formatter (as well as Converter).
getGlobalValidatorActivationRules() - Method in class nl.openedge.baritus.ValidatorRegistry
get all global activation rules
getInstance() - Static method in class nl.openedge.baritus.ConverterRegistry
access to singleton
getLocale() - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
get the locale
getLocale() - Method in interface nl.openedge.baritus.converters.LocaleFormatter
Get the locale for this instance
getLocaleForRequest(ControllerContext, FormBeanContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get the prefered locale for the current request.
getLocalizedMessage(String) - Static method in class nl.openedge.baritus.FormBeanCtrlBase
Get localized message for given key.
getLocalizedMessage(String, Locale) - Static method in class nl.openedge.baritus.FormBeanCtrlBase
Get localized message for given key and locale.
getLocalizedMessage(String, Object[]) - Static method in class nl.openedge.baritus.FormBeanCtrlBase
Get localized message for given key and locale and format it with the given parameters.
getLocalizedMessage(String, Locale, Object[]) - Static method in class nl.openedge.baritus.FormBeanCtrlBase
Get localized message for given key and locale and format it with the given parameters.
getLocalizedMessage(String) - Static method in class nl.openedge.baritus.util.MessageUtils
Get localized message for given key.
getLocalizedMessage(String, Locale) - Static method in class nl.openedge.baritus.util.MessageUtils
Get localized message for given key and locale.
getLocalizedMessage(String, Object[]) - Static method in class nl.openedge.baritus.util.MessageUtils
Get localized message for given key and locale and format it with the given parameters.
getLocalizedMessage(String, Locale, Object[]) - Static method in class nl.openedge.baritus.util.MessageUtils
Get localized message for given key and locale and format it with the given parameters.
getLocalizedMessage(String) - Method in class nl.openedge.baritus.validation.AbstractValidator
get localized message for given key
getLocalizedMessage(String, Locale) - Method in class nl.openedge.baritus.validation.AbstractValidator
get localized message for given key and locale.
getLocalizedMessage(String, Object[]) - Method in class nl.openedge.baritus.validation.AbstractValidator
Get localized message for given key and format it with the given parameters.
getLocalizedMessage(String, Locale, Object[]) - Method in class nl.openedge.baritus.validation.AbstractValidator
Get localized message for given key and locale and format it with the given parameters.
getMaxLength() - Method in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Get maximum length that is checked on.
getMinLength() - Method in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
 
getMode() - Method in class nl.openedge.baritus.validation.impl.RegexValidator
get mode
getNumber(Object, String) - Method in class nl.openedge.baritus.converters.DecimalLocaleConverter
translate value to a number optionally using the supplied pattern
getOverrideField(String) - Method in class nl.openedge.baritus.FormBeanContext
Get the value of the field that was overridden.
getOverrideFields() - Method in class nl.openedge.baritus.FormBeanContext
Get the map of failed field values.
getOverrideValue(Object) - Method in class nl.openedge.baritus.validation.AbstractFieldValidator
Get the override value.
getOverrideValue(Object) - Method in interface nl.openedge.baritus.validation.FieldValidator
if value is not valid, get the custom value to set as the field override in the form.
getPattern() - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
get the pattern
getPattern() - Method in class nl.openedge.baritus.validation.impl.RegexValidator
get pattern
getPropertyName() - Method in class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
get the name of the property
getPropertyNameKey(String) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get the message bundle key for the given property name.
getRegexFieldPopulators() - Method in class nl.openedge.baritus.PopulatorRegistry
get the populators that were registered with regex patterns
getRules() - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
get list of validation activation rules.
getSessionAttributeKey() - Method in class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
get the session attribute key that will be checked for
getValidationActivationRule() - Method in class nl.openedge.baritus.validation.AbstractValidator
 
getValidationActivationRule() - Method in interface nl.openedge.baritus.validation.ValidationRuleDependend
Get the registered validation rule.
getValidatorDelegates() - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get the list of registered validator delegates.
getValidators(String) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Get the fieldValidators that were registered with the given fieldName.
getValidators(String) - Method in class nl.openedge.baritus.ValidatorRegistry
get the fieldValidators that were registered with the given fieldName
getView() - Method in class nl.openedge.baritus.interceptors.ReturnNowFlowException
Get the view to return.
go(ControllerContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Executes this controller.

H

hasErrors() - Method in class nl.openedge.baritus.FormBeanContext
Whether any errors were registered during population/ validation.

I

INTERCEPTION_LOG - Static variable in interface nl.openedge.baritus.LogConstants
log name for interception logging. value: nl.openedge.baritus.interception
IgnoreFieldPopulator - class nl.openedge.baritus.population.IgnoreFieldPopulator.
Ignores the population of fields.
IgnoreFieldPopulator() - Constructor for class nl.openedge.baritus.population.IgnoreFieldPopulator
construct.
IgnoreFieldPopulator(boolean) - Constructor for class nl.openedge.baritus.population.IgnoreFieldPopulator
construct with parameter fail
IntegerConverter - class nl.openedge.baritus.converters.IntegerConverter.
Converter implementation that converts an incoming String into a java.lang.Integer object, throwing a ConversionException if a conversion error occurs.
IntegerConverter() - Constructor for class nl.openedge.baritus.converters.IntegerConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
Interceptor - interface nl.openedge.baritus.interceptors.Interceptor.
Tagging interface for interceptors.
init(Element) - Method in class nl.openedge.baritus.FormBeanCtrl
Guaranteed to be called once with the XML configuration of the controller from the master config file.
isDoFormValidationIfFieldValidationFailed() - Method in class nl.openedge.baritus.ExecutionParams
Indicates whether the form validators should be executed when one of the field validators failed.
isDoPerformIfPopulationFailed() - Method in class nl.openedge.baritus.ExecutionParams
Whether the perform method of the control should be executed, even if the population/ validation failed.
isEmpty() - Method in class nl.openedge.baritus.FormBeanContext
are there any attributes
isExecuteOtherInterceptors() - Method in class nl.openedge.baritus.interceptors.FlowException
 
isFail() - Method in class nl.openedge.baritus.population.IgnoreFieldPopulator
get the value of property fail
isIncludeControllerParameters() - Method in class nl.openedge.baritus.ExecutionParams
include controller parameters in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
isIncludeRequestAttributes() - Method in class nl.openedge.baritus.ExecutionParams
include request attributes in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
isIncludeSessionAttributes() - Method in class nl.openedge.baritus.ExecutionParams
include session attributes in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
isLenient() - Method in class nl.openedge.baritus.converters.DateLocaleConverter
Returns whether date formatting is lenient.
isNoCache() - Method in class nl.openedge.baritus.ExecutionParams
if true, the no cache headers will be set
isNullOrEmpty(Object) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Check if the value is null or empty.
isNullOrEmpty(Object) - Static method in class nl.openedge.baritus.util.ValueUtils
check if the value is null or empty
isPopulateAndValidate() - Method in class nl.openedge.baritus.ExecutionParams
Get flag whether Baritus should try to populate the form bean.
isReturnNoopConverterWhenNotFound() - Static method in class nl.openedge.baritus.ConverterRegistry
Whether to return a noopConverter as a fallback.
isReuseFormBeanContext() - Method in class nl.openedge.baritus.ExecutionParams
Whether to reuse the context for multiple invocations within the same request.
isSaveReqParamsAsOverrideFieldsOnError() - Method in class nl.openedge.baritus.ExecutionParams
Gets whether all request parameters should be saved as override values when population or validation fails.
isSetNullForEmptyString() - Method in class nl.openedge.baritus.ExecutionParams
If we get an empty string it should be translated to a null (true) or to an empty String false.
isStrictPopulationMode() - Method in class nl.openedge.baritus.ExecutionParams
When an unexpected error occurs, should that be interpreted as a failure, or should it just be ignored.
isTrimStringInputValues() - Method in class nl.openedge.baritus.ExecutionParams
Get whether string input values should be trimmed before conversion.
isValid(ControllerContext, FormBeanContext, String, Object) - Method in interface nl.openedge.baritus.validation.FieldValidator
Checks if value is valid.
isValid(ControllerContext, FormBeanContext) - Method in interface nl.openedge.baritus.validation.FormValidator
Checks if form is valid.
isValid(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Checks whether the provided value is less than the maximum.
isValid(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Checks whether the provided value is greater than the minimum.
isValid(ControllerContext, FormBeanContext) - Method in class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
check whether the form contains a not null property with the name of property propertyName
isValid(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.validation.impl.RegexValidator
 
isValid(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Checks whether the value is not null, and - if it is an instance of String - whether the trimmed value is not an empty string.
isValid(ControllerContext, FormBeanContext) - Method in class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
 

K

keySet() - Method in class nl.openedge.baritus.FormBeanContext
get the key set of the attributes

L

LOGON - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Common name for the typical "logon" view.
LocaleConverter - interface nl.openedge.baritus.converters.LocaleConverter.
General purpose data type converter.
LocaleFormatter - interface nl.openedge.baritus.converters.LocaleFormatter.
Formatter that uses a locale.
LogConstants - interface nl.openedge.baritus.LogConstants.
Holder for constants for logging.
LongConverter - class nl.openedge.baritus.converters.LongConverter.
Standard Converter implementation that converts an incoming String into a java.lang.Long object, optionally using a default value or throwing a ConversionException if a conversion error occurs.
LongConverter() - Constructor for class nl.openedge.baritus.converters.LongConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
LongLocaleConverter - class nl.openedge.baritus.converters.LongLocaleConverter.
localized long converter
LongLocaleConverter() - Constructor for class nl.openedge.baritus.converters.LongLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
LongLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.LongLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
LongLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.LongLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
LongLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.LongLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
locPattern - Variable in class nl.openedge.baritus.converters.BaseLocaleConverter
The flag indicating whether the given pattern string is localized or not.
locale - Variable in class nl.openedge.baritus.converters.BaseLocaleConverter
The locale specified to our Constructor, by default - system locale.
lookup(String) - Method in class nl.openedge.baritus.ConverterRegistry
lookup a globally registered formatter
lookup(Class) - Method in class nl.openedge.baritus.ConverterRegistry
Look up and return any registered Converter for the specified destination class.
lookup(Class, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
Look up and return any registered Converter for the specified destination class and locale.
lookup(String, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
Look up and return any registered Formatter for the specified destination key and locale; if there is no registered Formatter, return null.

M

MODE_INVALID_IF_MATCHES - Static variable in class nl.openedge.baritus.validation.impl.RegexValidator
when in this mode, isValid will return false if the input matches the pattern
MODE_VALID_IF_MATCHES - Static variable in class nl.openedge.baritus.validation.impl.RegexValidator
when in this mode, isValid will return true if the input matches the pattern
MaximumFieldLengthValidator - class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator.
This validator checks on maximum length.
MaximumFieldLengthValidator() - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
construct with 'invalid.field.input.size' as message prefix.
MaximumFieldLengthValidator(String) - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Construct with errorMessageKey for error message keys.
MaximumFieldLengthValidator(String, int) - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Construct with message prefix for error message keys and set checking on maximum length with given length of fields only.
MaximumFieldLengthValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Construct with activation rule.
MaximumFieldLengthValidator(String, ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Construct with errorMessageKey and activation rule.
MaximumFieldLengthValidator(int) - Constructor for class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Construct with maxLength.
MessageUtils - class nl.openedge.baritus.util.MessageUtils.
Utility class for handling localized messages.
MessageUtils() - Constructor for class nl.openedge.baritus.util.MessageUtils
 
MinimumFieldLengthValidator - class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator.
This validator checks on minimum length.
MinimumFieldLengthValidator() - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with key invalid.field.input.size for error messages.
MinimumFieldLengthValidator(String) - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with message prefix for error message keys.
MinimumFieldLengthValidator(String, int) - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with message key for error message keys and set checking on minimum length with given length of fields only.
MinimumFieldLengthValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with activation rule.
MinimumFieldLengthValidator(String, ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with errorMessageKey and activation rule.
MinimumFieldLengthValidator(int) - Constructor for class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Construct with min length.
MultiHashMap - class nl.openedge.baritus.util.MultiHashMap.
A MultiMap is a Map with slightly different semantics.
MultiHashMap() - Constructor for class nl.openedge.baritus.util.MultiHashMap
Constructor.
MultiHashMap(int) - Constructor for class nl.openedge.baritus.util.MultiHashMap
Constructor.
MultiHashMap(int, float) - Constructor for class nl.openedge.baritus.util.MultiHashMap
Constructor.
MultiHashMap(Map) - Constructor for class nl.openedge.baritus.util.MultiHashMap
Constructor.
makeFormBean(FormBeanContext, ControllerContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
This method will be called to produce a bean whose properties will be populated with the http currentRequest parameters, the resulting object will be placed in the formBeanContext after this call.

N

NO_MAXIMUM - Static variable in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
special value that indicates there's no maximum value to check on
NO_MINIMUM - Static variable in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
special value that indicates there's no min value to check on
NestedValidationActivationRule - class nl.openedge.baritus.validation.impl.NestedValidationActivationRule.
You can use a list of validators while registering just one by using NestedValidationActionRule.
NestedValidationActivationRule() - Constructor for class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
 
NoopConverter - class nl.openedge.baritus.converters.NoopConverter.
Converter that does nothing at all!
NoopConverter() - Constructor for class nl.openedge.baritus.converters.NoopConverter
 
nl.openedge.baritus - package nl.openedge.baritus
The main classes of Baritus.
nl.openedge.baritus.converters - package nl.openedge.baritus.converters
Converters that are used for population.
nl.openedge.baritus.interceptors - package nl.openedge.baritus.interceptors
Interceptors.
nl.openedge.baritus.population - package nl.openedge.baritus.population
Populators for Baritus.
nl.openedge.baritus.util - package nl.openedge.baritus.util
Utility classes.
nl.openedge.baritus.validation - package nl.openedge.baritus.validation
Base classes for validation.
nl.openedge.baritus.validation.impl - package nl.openedge.baritus.validation.impl
Implementation classes for validation.
nonDigitPattern - Variable in class nl.openedge.baritus.converters.DecimalLocaleConverter
 

O

OgnlConverterWrapper - class nl.openedge.baritus.population.OgnlConverterWrapper.
This class should be registered with the Ognl context before parsing in order to be abel to use our converters.
OgnlConverterWrapper() - Constructor for class nl.openedge.baritus.population.OgnlConverterWrapper
 
OgnlFieldPopulator - class nl.openedge.baritus.population.OgnlFieldPopulator.
OGNL populator for bean properties.
OgnlFieldPopulator(FormBeanCtrlBase) - Constructor for class nl.openedge.baritus.population.OgnlFieldPopulator
construct with reference to the control

P

POPULATION_LOG - Static variable in interface nl.openedge.baritus.LogConstants
log name for population logging. value: nl.openedge.baritus.population
PerformExceptionInterceptor - interface nl.openedge.baritus.interceptors.PerformExceptionInterceptor.
Registered instances will have their command method executed if an unhandeld exception occured while executing the perform method.
PopulationErrorInterceptor - interface nl.openedge.baritus.interceptors.PopulationErrorInterceptor.
Registered instances will have their command method executed if the model failed to populate, or did not pass validation.
PopulatorRegistry - class nl.openedge.baritus.PopulatorRegistry.
Registry for populators.
PopulatorRegistry(FormBeanCtrlBase) - Constructor for class nl.openedge.baritus.PopulatorRegistry
construct registry with the current instance of FormBeanBase
PropertyNotNullFormValidator - class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator.
Checks whether the form contains a non null property with the name of property propertyName.
PropertyNotNullFormValidator() - Constructor for class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
construct
PropertyNotNullFormValidator(String) - Constructor for class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
construct with errorMessageKey
PropertyNotNullFormValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
construct with rule
PropertyNotNullFormValidator(String, ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
construct with error message and rule
PropertyNotNullFormValidator(String, String) - Constructor for class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
construct with property name and errorMessageKey
parse(Object, String) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
parse(Object, String) - Method in class nl.openedge.baritus.converters.ByteLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
parse(Object, String) - Method in class nl.openedge.baritus.converters.DateLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
parse(Object, String) - Method in class nl.openedge.baritus.converters.DecimalLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
parse(Object, String) - Method in class nl.openedge.baritus.converters.FloatLocaleConverter
Convert the specified locale-sensitive input object into an output object of the specified type.
pattern - Variable in class nl.openedge.baritus.converters.BaseLocaleConverter
The default pattern specified to our Constructor, if any.
perform(FormBeanContext, ControllerContext) - Method in class nl.openedge.baritus.FormBeanCtrlBase
This method must be overriden to perform application logic.
put(Object, Object) - Method in class nl.openedge.baritus.FormBeanContext
Associates the specified value with the specified key in the attribute map.
put(Object, Object) - Method in class nl.openedge.baritus.util.MultiHashMap
Put a key and value into the map.
putAll(Map) - Method in class nl.openedge.baritus.FormBeanContext
put the provided map in the attribute map

R

REDIRECT - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Common name for the "redirect" view.
REQUEST_ATTRIBUTE_EXECUTION_PARAMS - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Key for request attribute that is used to store the execution parameters for the current request.
REQUEST_ATTRIBUTE_FORMBEANCONTEXT - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Key for request attribute that is used to store the formbean context.
RegexValidator - class nl.openedge.baritus.validation.impl.RegexValidator.
Tests for a match against a regex pattern.
RegexValidator() - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct without parameters
RegexValidator(Pattern) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with pattern
RegexValidator(String, Pattern) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with errorMessageKey and pattern
RegexValidator(String, ValidationActivationRule, Pattern) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with errorMessageKey, rule and pattern
RegexValidator(Pattern, int) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with pattern and mode
RegexValidator(String, Pattern, int) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with message prefix, pattern and mode
RegexValidator(String, ValidationActivationRule, Pattern, int) - Constructor for class nl.openedge.baritus.validation.impl.RegexValidator
construct with errorMessageKey, rule, pattern and mode
RequiredFieldValidator - class nl.openedge.baritus.validation.impl.RequiredFieldValidator.
Checks for a non-EMPTY input.
RequiredFieldValidator() - Constructor for class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Construct using 'input.field.required' as the message prefix.
RequiredFieldValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Construct using the provided activation rule and 'input.field.required' as the message prefix.
RequiredFieldValidator(String, ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Construct using errorMessageKey and the activation rule
RequiredFieldValidator(String) - Constructor for class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Construct with errorMessageKey for error message keys.
RequiredSessionAttributeValidator - class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator.
Checks whether a session attribute exists with the key that was set for property sessionAttributeKey.
RequiredSessionAttributeValidator() - Constructor for class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Construct.
RequiredSessionAttributeValidator(String) - Constructor for class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Construct with errorMessageKey.
RequiredSessionAttributeValidator(ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Construct with rule.
RequiredSessionAttributeValidator(String, ValidationActivationRule) - Constructor for class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Construct with errorMessageKey and rule.
RequiredSessionAttributeValidator(String, String) - Constructor for class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Construct with message prefix and session attribute key to check for.
ReturnNowFlowException - exception nl.openedge.baritus.interceptors.ReturnNowFlowException.
Flow exception; is thrown when an interceptor wants an override of the default view, and this view should be directed to immediately.
ReturnNowFlowException(String) - Constructor for class nl.openedge.baritus.interceptors.ReturnNowFlowException
Construct with view.
register(Converter, Class) - Method in class nl.openedge.baritus.ConverterRegistry
Register a custom Converter for the specified destination Class, replacing any previously registered Converter.
register(LocaleConverter, Class) - Method in class nl.openedge.baritus.ConverterRegistry
Register a custom LocaleConverter for the specified destination Class, replacing any previously registered Converter.
register(LocaleConverter, Class, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
Register a custom LocaleConverter for the specified destination Class, replacing any previously registered Converter.
register(Formatter, String) - Method in class nl.openedge.baritus.ConverterRegistry
register a global formatter with the given key
register(LocaleFormatter, String, Locale) - Method in class nl.openedge.baritus.ConverterRegistry
register a global locale aware formatter with the given key and locale
register(LocaleFormatter, String) - Method in class nl.openedge.baritus.ConverterRegistry
register a global locale aware formatter with the given key
remove(Object) - Method in class nl.openedge.baritus.FormBeanContext
remove an attribute
remove(Object, Object) - Method in class nl.openedge.baritus.util.MultiHashMap
Removes a specific value from map.
removeError(String) - Method in class nl.openedge.baritus.FormBeanContext
De-register (remove) an error that was registered with the provided key.
removeInterceptor(Interceptor) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Remove an interceptor from the current list of interceptors.
removePopulator(String) - Method in class nl.openedge.baritus.FormBeanCtrlBase
De-register the field populator that was registered with the given fieldName.
removePopulator(Pattern) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Register a custom populator that overrides the default population process for all request parameters that match the regular expression stored in the provided pattern.
removePopulator(String) - Method in class nl.openedge.baritus.PopulatorRegistry
de-register the field populator that was registered with the given fieldName
removePopulator(Pattern) - Method in class nl.openedge.baritus.PopulatorRegistry
Remove a populator that was registered for the provided pattern
removeRule(ValidationActivationRule) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
remove a validation activation rule from list.
removeRule(int) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
remove a validation activation rule at the provided position
removeValidationActivationRule(ValidationActivationRule) - Method in class nl.openedge.baritus.FormBeanCtrlBase
De-register the given rule for the whole form.
removeValidationActivationRule(ValidationActivationRule) - Method in class nl.openedge.baritus.ValidatorRegistry
de-register the given rule for the whole form
removeValidationActivationRule() - Method in class nl.openedge.baritus.validation.AbstractValidator
 
removeValidationActivationRule() - Method in interface nl.openedge.baritus.validation.ValidationRuleDependend
Remove the validation rule.
removeValidator(String, FieldValidator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
De-register the given validator that was registered with the given fieldName.
removeValidator(FormValidator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
De-register the given form level validator.
removeValidator(String, FieldValidator) - Method in class nl.openedge.baritus.ValidatorRegistry
de-register the given validator that was registered with the given fieldName
removeValidator(FormValidator) - Method in class nl.openedge.baritus.ValidatorRegistry
de-register the given form level validator
removeValidatorDelegate(ValidatorDelegate) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Remove a validator delegate.
removeValidators(String) - Method in class nl.openedge.baritus.FormBeanCtrlBase
De-register the fieldValidators that were registered with the given fieldName.
removeValidators(String) - Method in class nl.openedge.baritus.ValidatorRegistry
de-register the fieldValidators that were registered with the given fieldName

S

SESSION_KEY_CURRENT_LOCALE - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
session key for the current locale.
SUCCESS - Static variable in class nl.openedge.baritus.FormBeanCtrlBase
Common name for the typical "success" view.
ShortConverter - class nl.openedge.baritus.converters.ShortConverter.
Converter implementation that converts an incoming String into a java.lang.Short object, throwing a ConversionException if a conversion error occurs.
ShortConverter() - Constructor for class nl.openedge.baritus.converters.ShortConverter
Create a Converter that will throw a ConversionException if a conversion error occurs.
ShortLocaleConverter - class nl.openedge.baritus.converters.ShortLocaleConverter.
localized short converter
ShortLocaleConverter() - Constructor for class nl.openedge.baritus.converters.ShortLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ShortLocaleConverter(Locale) - Constructor for class nl.openedge.baritus.converters.ShortLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ShortLocaleConverter(Locale, String) - Constructor for class nl.openedge.baritus.converters.ShortLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
ShortLocaleConverter(Locale, String, boolean) - Constructor for class nl.openedge.baritus.converters.ShortLocaleConverter
Create a LocaleConverter that will throw a ConversionException if a conversion error occurs.
setBREAKSYMBOLS(char[]) - Static method in class nl.openedge.baritus.DefaultValidatorDelegate
 
setBean(Object) - Method in class nl.openedge.baritus.FormBeanContext
Set the form bean.
setController(FormBeanCtrlBase) - Method in class nl.openedge.baritus.FormBeanContext
set current controller
setConversionErrorForField(ControllerContext, FormBeanContext, Class, String, Object, Throwable) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Set error for field with name 'name' in case of a conversion error.
setCtrl(FormBeanCtrlBase) - Method in class nl.openedge.baritus.population.AbstractFieldPopulator
set reference to the controller
setCurrentLocale(Locale) - Method in class nl.openedge.baritus.FormBeanContext
Set the current locale.
setDateStyle(int) - Method in class nl.openedge.baritus.converters.DateLocaleConverter
set date style
setDefaultFieldPopulator(FieldPopulator) - Method in class nl.openedge.baritus.PopulatorRegistry
set the default field populator
setDefaultPopulator(FieldPopulator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
set the default field populator
setDesiredPattern(String) - Method in class nl.openedge.baritus.converters.ConversionException
Set the desired pattern.
setDoFormValidationIfFieldValidationFailed(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Indicates whether the form validators should be executed when one of the field validators failed.
setDoPerformIfPopulationFailed(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Whether the perform method of the control should be executed, even if the population/ validation failed.
setError(String, Throwable, boolean) - Method in class nl.openedge.baritus.FormBeanContext
Either add this exception with the given key, or add the stacktrace of this exception with the given key.
setError(String, String, Throwable) - Method in class nl.openedge.baritus.FormBeanContext
Add exception and its stacktrace.
setError(Throwable) - Method in class nl.openedge.baritus.FormBeanContext
Adds an exception with key 'exception' and adds the stacktrace of this exception with key 'stacktrace'.
setError(Throwable, boolean) - Method in class nl.openedge.baritus.FormBeanContext
Adds an exception with key 'exception' and adds either the stacktrace of this exception with key 'stacktrace' if asStackTrace is true, or add the exception message with key 'exception' if asStackTrace is false.
setError(String, String) - Method in class nl.openedge.baritus.FormBeanContext
Register (or overwrite) an error with the provided key and value.
setErrorMessage(FormBeanContext, String, String, Object[]) - Method in class nl.openedge.baritus.validation.AbstractValidator
set error message in formBeanContext using the provided name, the current locale that is stored in the form bean context, the provided errorMessageKey and the provided arguments for parsing the localized message; the message will be stored in the form bean context with key that was provided as argument name.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Set key of error message.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
Set key of error message.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
Set key of error message.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.RegexValidator
Set key of error message.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.RequiredFieldValidator
Set key of error message.
setErrorMessageKey(String) - Method in class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
Set key of error message.
setErrors(Map) - Method in class nl.openedge.baritus.FormBeanContext
Set the map of errors.
setExecuteOtherInterceptors(boolean) - Method in class nl.openedge.baritus.interceptors.FlowException
 
setFail(boolean) - Method in class nl.openedge.baritus.population.IgnoreFieldPopulator
set the value of property fail
setIncludeControllerParameters(boolean) - Method in class nl.openedge.baritus.ExecutionParams
set whether to include controller parameters in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
setIncludeRequestAttributes(boolean) - Method in class nl.openedge.baritus.ExecutionParams
set whether to include request attributes in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
setIncludeSessionAttributes(boolean) - Method in class nl.openedge.baritus.ExecutionParams
set whether to include session attributes in the population process The order in which parameters/ attributes are used for population: 1. controller parameters (if includeControllerParameters == true) 2. session attributes (if includeSessionAttributes == true) 3. request parameters 4. request attributes (if includeRequestAttributes == true)
setLenient(boolean) - Method in class nl.openedge.baritus.converters.DateLocaleConverter
Specify whether or not date-time parsing should be lenient.
setLocale(Locale) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
set the locale
setLocale(Locale) - Method in interface nl.openedge.baritus.converters.LocaleFormatter
Set the locale for this instance.
setMaxLength(int) - Method in class nl.openedge.baritus.validation.impl.MaximumFieldLengthValidator
Set maximum length that is checked on .
setMinLength(int) - Method in class nl.openedge.baritus.validation.impl.MinimumFieldLengthValidator
 
setMode(int) - Method in class nl.openedge.baritus.validation.impl.RegexValidator
set mode
setNoCache(boolean) - Method in class nl.openedge.baritus.ExecutionParams
if true, the no cache headers will be set
setOverrideField(String, Object) - Method in class nl.openedge.baritus.FormBeanContext
Set value of field that overrides.
setOverrideField(Map) - Method in class nl.openedge.baritus.FormBeanContext
Set values of fields that have overrides.
setOverrideField(ControllerContext, FormBeanContext, String, Object, Throwable, FieldValidator) - Method in class nl.openedge.baritus.FormBeanCtrlBase
Set the override value for the provdied field name.
setPattern(String) - Method in class nl.openedge.baritus.converters.BaseLocaleConverter
set the pattern
setPattern(Pattern) - Method in class nl.openedge.baritus.validation.impl.RegexValidator
set pattern
setPopulateAndValidate(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Set flag whether Baritus should try to populate the form bean.
setProperty(ControllerContext, FormBeanContext, String, Object) - Method in interface nl.openedge.baritus.population.FieldPopulator
set a property on the given form
setProperty(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.population.IgnoreFieldPopulator
Does nothing at all.
setProperty(ControllerContext, FormBeanContext, String, Object) - Method in class nl.openedge.baritus.population.OgnlFieldPopulator
set a property
setPropertyName(String) - Method in class nl.openedge.baritus.validation.impl.PropertyNotNullFormValidator
set the name of the property
setReturnNoopConverterWhenNotFound(boolean) - Static method in class nl.openedge.baritus.ConverterRegistry
Whether to return a noopConverter as a fallback.
setReuseFormBeanContext(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Set whether to reuse the context for multiple invocations within the same request.
setRules(List) - Method in class nl.openedge.baritus.validation.impl.NestedValidationActivationRule
set list of validation activation rules.
setSaveReqParamsAsOverrideFieldsOnError(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Sets whether all request parameters should be saved as override values when population or validation fails.
setSessionAttributeKey(String) - Method in class nl.openedge.baritus.validation.impl.RequiredSessionAttributeValidator
set the session attribute key that will be checked for
setSetNullForEmptyString(boolean) - Method in class nl.openedge.baritus.ExecutionParams
If we get an empty string it should be translated to a null (true) or to an empty String false.
setStrictPopulationMode(boolean) - Method in class nl.openedge.baritus.ExecutionParams
When an unexpected error occurs, should that be interpreted as a failure, or should it just be ignored.
setTrimStringInputValues(boolean) - Method in class nl.openedge.baritus.ExecutionParams
Set whether string input values should be trimmed before conversion.
setValidationRule(ValidationActivationRule) - Method in class nl.openedge.baritus.validation.AbstractValidator
 
setValidationRule(ValidationActivationRule) - Method in interface nl.openedge.baritus.validation.ValidationRuleDependend
Set the validation rule.
size() - Method in class nl.openedge.baritus.FormBeanContext
get the number of attributes

T

toString() - Method in class nl.openedge.baritus.ExecutionParams
String rep.
toString() - Method in class nl.openedge.baritus.FormBeanContext
String rep.
toString() - Method in class nl.openedge.baritus.converters.ConversionException
String representation of the exception.
toString() - Method in class nl.openedge.baritus.interceptors.DispatchNowFlowException
String representation.
toString() - Method in class nl.openedge.baritus.interceptors.ReturnNowFlowException
String representation.

V

ValidationActivationRule - interface nl.openedge.baritus.validation.ValidationActivationRule.
interface that can be used to switch whether validation with custom fieldValidators should be performed in the current request.
ValidationRuleDependend - interface nl.openedge.baritus.validation.ValidationRuleDependend.
FieldValidators that implement this interface can have their validation done optionaly.
ValidatorRegistry - class nl.openedge.baritus.ValidatorRegistry.
Registry for populators.
ValidatorRegistry() - Constructor for class nl.openedge.baritus.ValidatorRegistry
 
ValueUtils - class nl.openedge.baritus.util.ValueUtils.
Misc utility methods for handling values
ValueUtils() - Constructor for class nl.openedge.baritus.util.ValueUtils
 
values() - Method in class nl.openedge.baritus.FormBeanContext
get the attribute values
values() - Method in class nl.openedge.baritus.util.MultiHashMap
Gets a view over all the values in the map.

A B C D E F G H I K L M N O P R S T V

Copyright © 2003-2004 Open Edge. All Rights Reserved.