Class ModelAuthorPermissionValidator

java.lang.Object
cn.sparrow.permission.validation.ModelAuthorPermissionValidator
All Implemented Interfaces:
org.springframework.validation.Validator
@Component public class ModelAuthorPermissionValidatorextends Object implements org.springframework.validation.Validator
  • Constructor Details

    • ModelAuthorPermissionValidator

      public  ModelAuthorPermissionValidator()
  • Method Details

    • supports

      public  boolean  supports(Class<?> clazz)
      Specified by:
      supports in interface  org.springframework.validation.Validator
    • validate

      public  void  validate(Object target, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface  org.springframework.validation.Validator