Annotation Type Validate


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Validate
    Marker annotation for methods that needs to be invoked after initial generic validation and validation of insert/update groups. Allows custom code based validation.

    In iKnowBase Open this is triggered by FormProcessor#validate.

    The annotated method's arguments are:

    • REQUIRED: org.springframework.validation.BindingResult containing binding results so far.
    • OPTIONAL: org.springframework.validation.Validator for validation using hints like validation groups etc.

    Applicable to: iKnowBase Classic, iKnowBase Open

    See Also:
    FormProcessor.validate(BindingResult)