Class ModelEditorPermissionValidator

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

    • ModelEditorPermissionValidator

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