Class SecurityValidatorImpl

java.lang.Object
org.tentackle.validate.validator.AbstractValidator<SecurityValidator>
org.tentackle.validate.validator.AbstractObjectValidator<SecurityValidator>
org.tentackle.security.pdo.SecurityValidatorImpl
All Implemented Interfaces:
org.tentackle.validate.Validator

public final class SecurityValidatorImpl extends org.tentackle.validate.validator.AbstractObjectValidator<SecurityValidator>
Security validator implementation.
Author:
harald
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a security object validator.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    int
     
    Class<? extends org.tentackle.validate.ValidationScope>[]
     
    Class<? extends org.tentackle.validate.ValidationSeverity>
     
    void
     
    List<? extends org.tentackle.validate.ValidationResult>
    validate(org.tentackle.validate.ValidationContext validationContext)
     

    Methods inherited from class org.tentackle.validate.validator.AbstractObjectValidator

    getCondition, getValue

    Methods inherited from class org.tentackle.validate.validator.AbstractValidator

    assertComparable, createMessage, createScriptVariables, createValidationResultList, getAnnotatedElement, getConditionParameter, getConfiguredScopes, getMessageParameter, getValidatedElementName, getValidationIndex, getValue, getValue, getValueParameter, isConditionValid, setAnnotatedElement, setValidatedElementName, setValidationIndex, toString, validate

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SecurityValidatorImpl

      public SecurityValidatorImpl()
      Creates a security object validator.
  • Method Details

    • setAnnotation

      public void setAnnotation(Annotation annotation)
    • getAnnotation

      public SecurityValidator getAnnotation()
    • getMessage

      public String getMessage()
    • getErrorCode

      public String getErrorCode()
    • getSeverity

      public Class<? extends org.tentackle.validate.ValidationSeverity> getSeverity()
    • getPriority

      public int getPriority()
    • getScope

      public Class<? extends org.tentackle.validate.ValidationScope>[] getScope()
    • validate

      public List<? extends org.tentackle.validate.ValidationResult> validate(org.tentackle.validate.ValidationContext validationContext)