Class UpdateAllClientRolesServiceImpl
java.lang.Object
com.skava.auth.service.impl.clientrole.UpdateAllClientRolesServiceImpl
- All Implemented Interfaces:
UpdateClientRolesService
,com.skava.core.EcommService<ClientRoleRequest,
com.skava.core.ResponseModel>
@Service
@Transactional(propagation=REQUIRED,
readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class UpdateAllClientRolesServiceImpl
extends Object
implements UpdateClientRolesService
This service class implements AddClientRoleService and handles the add client to
role service request, process it and save the details in DB. It also
implements business logic required to add client to requested role.
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.MessageSource
message source for localization -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method return the list of validation components to validate the request of client's role update.com.skava.core.ResponseModel
process
(ClientRoleRequest input) 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
-
Field Details
-
messageSource
@Autowired protected org.springframework.context.MessageSource messageSourcemessage source for localization
-
-
Constructor Details
-
UpdateAllClientRolesServiceImpl
public UpdateAllClientRolesServiceImpl()The class constructor.
-
-
Method Details
-
process
@SendEvent(eventType="authservice/clientrole/update", identifier="request_clientId") public com.skava.core.ResponseModel process(ClientRoleRequest input) - Specified by:
process
in interfacecom.skava.core.EcommService<ClientRoleRequest,
com.skava.core.ResponseModel>
-
getValidator
This method return the list of validation components to validate the request of client's role update.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<ClientRoleRequest,
com.skava.core.ResponseModel> - Returns:
- a
List
ofValidatorComponent
objects.
-