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

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.context.MessageSource
    message source for localization
  • Constructor Summary

    Constructors
    Constructor
    Description
    The class constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<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
     

    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 messageSource
      message 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 interface com.skava.core.EcommService<ClientRoleRequest,com.skava.core.ResponseModel>
    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method return the list of validation components to validate the request of client's role update.
      Specified by:
      getValidator in interface com.skava.core.EcommService<ClientRoleRequest,com.skava.core.ResponseModel>
      Returns:
      a List of ValidatorComponent objects.