Class DeleteClientRolesServiceImpl

java.lang.Object
com.skava.auth.service.impl.clientrole.DeleteClientRolesServiceImpl
All Implemented Interfaces:
DeleteClientRolesService, com.skava.core.EcommService<ClientRoleRequest,com.skava.core.ResponseModel>

@Service @Transactional(readOnly=false, noRollbackFor=java.lang.Exception.class) public class DeleteClientRolesServiceImpl extends Object implements DeleteClientRolesService
This service class implements DeleteClientRolesService and handles the delete roles of the client.
Version:
$Id: $Id
Author:
Infosys Equinox
  • Constructor Details

    • DeleteClientRolesServiceImpl

      public DeleteClientRolesServiceImpl()
      The class constructor.
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method return the list of validation component.
      Specified by:
      getValidator in interface com.skava.core.EcommService<ClientRoleRequest,com.skava.core.ResponseModel>
      Returns:
      a @List of ValidatorComponent objects.
    • process

      @SendEvent(eventType="authservice/clientrole/delete", identifier="request_clientId") public com.skava.core.ResponseModel process(ClientRoleRequest input)
      This method return the client's roles and privileges.
      Specified by:
      process in interface com.skava.core.EcommService<ClientRoleRequest,com.skava.core.ResponseModel>
      Parameters:
      input - a ClientRoleRequest object.
      Returns:
      a ResponseModel object.
    • deleteClientRole

      public boolean deleteClientRole(String clientId, Long collectionId)
      This method is used to delete roles of the client.
      Parameters:
      clientId - a String object.
      collectionId - a Long object.
      Returns:
      deletion status.