Class UserValidatorComponent

java.lang.Object
com.skava.validator.services.UserValidatorComponent
All Implemented Interfaces:
com.skava.core.EcommComponent, com.skava.core.validation.ValidatorComponent
Direct Known Subclasses:
CollectionCreateAndUpdateValidator, CollectionPropertiesUpdateValidator, CreateAddressValidator, CreateBlackListItemServiceValidator, CreateConsentValidator, CreateNotesServiceValidator, CreateUserAddressesValidator, CreateUserConsentValidator, CreateUserValidator, DeleteConsentValidator, DeleteNotesServiceValidator, DeleteUserConsentValidator, DeleteUserValidator, GetAllConsentValidator, GetAllNotesServiceValidator, GetAllSecurityQuestionsValidator, GetAllUserConsentHistoryServiceValidator, GetAllUserConsentValidator, GetAllUserPublicProfileValidator, GetAllUserValidator, GetConsentValidator, GetSecurityQuestionsValidator, GetUserValidator, UpdateAddressValidator, UpdateConsentValidator, UpdateCredentialsValidator, UpdateSecurityQuestionsValidator, UpdateUserValidator, UserAuthNotificationValidator, UserAuthValidator, UserResetValidator, UserSendActivationValidator, UserValidateActivationValidator, UserValidateResetValidator

public class UserValidatorComponent extends Object implements com.skava.core.validation.ValidatorComponent
This class defines user validator component. This validator class used for validating the given request model.
Author:
Infosys Equinox
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroy.
    void
    init(String config)
    onInit.
    void
    onEvent(com.skava.core.EcommCoreEvent ecommCoreEvent)
    onEvent.
    void
    postProcess(com.skava.core.validation.InputModel model, com.skava.core.validation.OutputModel response)
    This method will execute once after the main implementation process gets completed.
    void
    preProcess(com.skava.core.validation.InputModel model)
    This method will execute before the main implementation process gets completed.

    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.validation.ValidatorComponent

    preProcess
  • Constructor Details

    • UserValidatorComponent

      public UserValidatorComponent()
      Default constructor
  • Method Details

    • init

      public void init(String config)

      onInit.

      Specified by:
      init in interface com.skava.core.EcommComponent
      Parameters:
      config - a String object.
    • onEvent

      public void onEvent(com.skava.core.EcommCoreEvent ecommCoreEvent)

      onEvent.

      Specified by:
      onEvent in interface com.skava.core.EcommComponent
      Parameters:
      ecommCoreEvent - a EcommCoreEvent object.
    • destroy

      public void destroy()

      destroy.

      Specified by:
      destroy in interface com.skava.core.EcommComponent
    • preProcess

      public void preProcess(com.skava.core.validation.InputModel model)
      This method will execute before the main implementation process gets completed.
      Specified by:
      preProcess in interface com.skava.core.validation.ValidatorComponent
      Parameters:
      model - the InputModel
    • postProcess

      public void postProcess(com.skava.core.validation.InputModel model, com.skava.core.validation.OutputModel response)
      This method will execute once after the main implementation process gets completed.
      Specified by:
      postProcess in interface com.skava.core.validation.ValidatorComponent
      Parameters:
      model - the InputModel
      response - the ResponseModel