Class ModelDeleterPermissionValidator

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

    • ModelDeleterPermissionValidator

      public  ModelDeleterPermissionValidator()
  • 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