Class CreateOAuthClientServiceImpl

java.lang.Object
com.skava.auth.service.impl.outhclient.CreateOAuthClientServiceImpl
All Implemented Interfaces:
CreateOAuthClientService, com.skava.core.EcommService<OAuthClientVO,OAuthClientResponse>

@Service public class CreateOAuthClientServiceImpl extends Object implements CreateOAuthClientService
This service class implements CreateOauthClientService and handles the CreateOauthClient service request, process it and save the details in DB. It also implements business logic required to CreateOauthClient.
Author:
Infosys Equinox
  • Constructor Details

    • CreateOAuthClientServiceImpl

      public CreateOAuthClientServiceImpl()
      The class constructor.
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<OAuthClientVO,OAuthClientResponse>
    • process

      @SendEvent(eventType="authservice/oauthclient/create", identifier="response_client.clientId") public OAuthClientResponse process(@Valid @Valid OAuthClientVO input)

      process.

      This method is used to process the create OAuthClient

      Specified by:
      process in interface com.skava.core.EcommService<OAuthClientVO,OAuthClientResponse>
      Parameters:
      input - a OAuthClientVO object.
      Returns:
      a OAuthClientResponse object. a create OAuthClient response with created OAuthClient info for valid OAuthClientVO request.