Class GetAllUserPublicProfileValidator

java.lang.Object
com.skava.validator.services.UserValidatorComponent
com.skava.validator.services.GetAllUserPublicProfileValidator
All Implemented Interfaces:
com.skava.core.EcommComponent, com.skava.core.validation.ValidatorComponent

@Component public class GetAllUserPublicProfileValidator extends UserValidatorComponent
This class defines get all user public profile validator. This validator class used for validating the given request model.
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • GetAllUserPublicProfileValidator

      public GetAllUserPublicProfileValidator()
      Default Constructor.
  • Method Details

    • preProcess

      public void preProcess(@Valid @Valid com.skava.core.validation.InputModel model)
      This PRE-Process method is used to validate the input request model. If the validation fails then it will throw the validation error response will be return as a response with respective HTTP status code, otherwise the main process implementation will execute.
      The following are the validation that occurs
      • Check whether the given page is valid or not.
      • Check whether the given size is valid or not.
      • Check whether the given filter parameters are valid or not
      Specified by:
      preProcess in interface com.skava.core.validation.ValidatorComponent
      Overrides:
      preProcess in class UserValidatorComponent
      Parameters:
      model - This InputModel model holds the UserRequest request model used for validating the user search request object.