Uses of Class
nl.openedge.baritus.FormBeanContext

Packages that use FormBeanContext
nl.openedge.baritus The main classes of Baritus.  
nl.openedge.baritus.interceptors Interceptors.  
nl.openedge.baritus.population Populators for Baritus.  
nl.openedge.baritus.validation Base classes for validation.  
nl.openedge.baritus.validation.impl Implementation classes for validation.  
 

Uses of FormBeanContext in nl.openedge.baritus
 

Methods in nl.openedge.baritus with parameters of type FormBeanContext
 boolean DefaultValidatorDelegate.doValidation(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, ExecutionParams execParams, java.util.Map parameters, boolean succeeded)
           
 void FormBeanCtrlBase.setConversionErrorForField(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.Class targetType, java.lang.String name, java.lang.Object triedValue, java.lang.Throwable t)
          Set error for field with name 'name' in case of a conversion error.
 void FormBeanCtrlBase.setOverrideField(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String name, java.lang.Object triedValue, java.lang.Throwable t, FieldValidator validator)
          Set the override value for the provdied field name.
protected abstract  java.lang.String FormBeanCtrlBase.perform(FormBeanContext formBeanContext, org.infohazard.maverick.flow.ControllerContext cctx)
          This method must be overriden to perform application logic.
protected abstract  java.lang.Object FormBeanCtrlBase.makeFormBean(FormBeanContext formBeanContext, org.infohazard.maverick.flow.ControllerContext cctx)
          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.
protected  java.util.Locale FormBeanCtrlBase.getLocaleForRequest(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Get the prefered locale for the current request.
protected  java.lang.String FormBeanCtrlBase.getErrorView(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Get error view.
 

Uses of FormBeanContext in nl.openedge.baritus.interceptors
 

Methods in nl.openedge.baritus.interceptors with parameters of type FormBeanContext
 void AfterPerformInterceptor.doAfterPerform(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Executed after the normal action execution took place.
 void AfterPopulationInterceptor.doAfterPopulation(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Executed before the normal action execution takes place, but after the form bean was populated.
 void BeforeMakeFormBeanInterceptor.doBeforeMakeFormBean(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Executed before the method makeFormBean is called.
 void BeforePopulationInterceptor.doBeforePopulation(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Registered instances will have their command method executed before population and validation is done.
 void PerformExceptionInterceptor.doOnPerformException(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.Exception cause)
          Executed if an unhandeld exception occured while executing the perform method.
 void PopulationErrorInterceptor.doOnPopulationError(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.Exception cause)
          Executed if the model failed to populate, or did not pass validation.
 

Uses of FormBeanContext in nl.openedge.baritus.population
 

Methods in nl.openedge.baritus.population with parameters of type FormBeanContext
 boolean FieldPopulator.setProperty(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String name, java.lang.Object value)
          set a property on the given form
 boolean IgnoreFieldPopulator.setProperty(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext form, java.lang.String name, java.lang.Object value)
          Does nothing at all.
 boolean OgnlFieldPopulator.setProperty(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String name, java.lang.Object value)
          set a property
 

Uses of FormBeanContext in nl.openedge.baritus.validation
 

Methods in nl.openedge.baritus.validation with parameters of type FormBeanContext
protected  java.lang.String AbstractValidator.getFieldName(FormBeanContext formBeanContext, java.lang.String name)
          Get the - possibly translated - name of the field.
protected  void AbstractValidator.setErrorMessage(FormBeanContext formBeanContext, java.lang.String name, java.lang.String errorMessageKey, java.lang.Object[] messageArguments)
          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.
 boolean FieldValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String fieldName, java.lang.Object value)
          Checks if value is valid.
 boolean FormValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          Checks if form is valid.
 boolean ValidationActivationRule.allowValidation(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          returns whether validation with custom fieldValidators should be performed in this currentRequest.
 

Uses of FormBeanContext in nl.openedge.baritus.validation.impl
 

Methods in nl.openedge.baritus.validation.impl with parameters of type FormBeanContext
 boolean MaximumFieldLengthValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String fieldName, java.lang.Object value)
          Checks whether the provided value is less than the maximum.
 boolean MinimumFieldLengthValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String fieldName, java.lang.Object value)
          Checks whether the provided value is greater than the minimum.
 boolean NestedValidationActivationRule.allowValidation(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          allows validation if all nested rules return true.
 boolean PropertyNotNullFormValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
          check whether the form contains a not null property with the name of property propertyName
 boolean RegexValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String fieldName, java.lang.Object value)
           
 boolean RequiredFieldValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext, java.lang.String fieldName, java.lang.Object value)
          Checks whether the value is not null, and - if it is an instance of String - whether the trimmed value is not an empty string.
 boolean RequiredSessionAttributeValidator.isValid(org.infohazard.maverick.flow.ControllerContext cctx, FormBeanContext formBeanContext)
           
 



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