Class UpdateOAuthClientServiceImpl
java.lang.Object
com.skava.auth.service.impl.outhclient.UpdateOAuthClientServiceImpl
- All Implemented Interfaces:
UpdateOAuthClientService
,com.skava.core.EcommService<UpdateOAuthClientRequest,
OAuthClientResponse>
@Service
public class UpdateOAuthClientServiceImpl
extends Object
implements UpdateOAuthClientService
This service class implements UpdateOauthClientService and handles the UpdateOauthClient service request,
process it and save the details in DB. It also implements business logic required to UpdateOauthClient.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(UpdateOAuthClientRequest request) process.update
(OAuthClientVO input, Boolean isRefresh) 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.EcommService
getValidateException, getValidator
-
Constructor Details
-
UpdateOAuthClientServiceImpl
public UpdateOAuthClientServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<UpdateOAuthClientRequest,
OAuthClientResponse>
-
process
@SendEvent(eventType="authservice/oauthclient/patch", identifier="response_client.clientId") public OAuthClientResponse process(UpdateOAuthClientRequest request) process.
This method is used to process the Update OAuthClient
- Specified by:
process
in interfacecom.skava.core.EcommService<UpdateOAuthClientRequest,
OAuthClientResponse> - Parameters:
request
- aUpdateOAuthClientRequest
object.- Returns:
- a
OAuthClientResponse
object. a Update OAuthClient response with Updated OAuthClient info for valid OAuthClientVO request.
-
update
- Parameters:
input
- aOAuthClientVO
objectisRefresh
-Boolean
- Returns:
- OAuthClient
-