Class CreateRoleValidator

java.lang.Object
com.skava.auth.service.validator.AuthValidatorComponent
com.skava.auth.service.validator.role.CreateRoleValidator
All Implemented Interfaces:
com.skava.core.EcommComponent, com.skava.core.validation.ValidatorComponent

@Service public class CreateRoleValidator extends AuthValidatorComponent
A class to define the service for validating create role request.
Author:
Infosys Equinox
  • Constructor Details

    • CreateRoleValidator

      public CreateRoleValidator()
  • Method Details

    • preProcess

      public void preProcess(com.skava.core.validation.InputModel model)
      This method validate the role create request of the collection.
      Specified by:
      preProcess in interface com.skava.core.validation.ValidatorComponent
      Overrides:
      preProcess in class AuthValidatorComponent
      Parameters:
      model - a InputModel object.