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
A class to define the service for validating create role request.
- Author:
- Infosys Equinox
-
Field Summary
Fields inherited from class com.skava.auth.service.validator.AuthValidatorComponent
collectionRepository, messageSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
preProcess
(com.skava.core.validation.InputModel model) This method validate the role create request of the collection.Methods inherited from class com.skava.auth.service.validator.AuthValidatorComponent
validateBusinessIdForRole, validateClientRole, validateCollection, validateCollectionId, validateRole, validateRole, validateRole
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommComponent
destroy, init, onEvent
Methods inherited from interface com.skava.core.validation.ValidatorComponent
postProcess, preProcess
-
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 interfacecom.skava.core.validation.ValidatorComponent
- Overrides:
preProcess
in classAuthValidatorComponent
- Parameters:
model
- aInputModel
object.
-