Class GetClientRolesServiceImpl
java.lang.Object
com.skava.auth.service.impl.clientrole.GetClientRolesServiceImpl
- All Implemented Interfaces:
GetClientRolesService
,com.skava.core.EcommService<ClientRoleRequest,
ClientsRolesResponse>
@Service
@Transactional(readOnly=true,
noRollbackFor=java.lang.Exception.class)
public class GetClientRolesServiceImpl
extends Object
implements GetClientRolesService
This service class implements DeleteClientRolesService and handles the delete roles of the user.
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClientRole
(String clientId, Long collectionId) This method is used to retrieve the roles of the client.List<com.skava.core.validation.ValidatorComponent>
This method return the list of validation component.process
(ClientRoleRequest input) This method return the user's roles and privileges.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
-
GetClientRolesServiceImpl
public GetClientRolesServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
This method return the list of validation component.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<ClientRoleRequest,
ClientsRolesResponse> - Returns:
- a @
List
ofValidatorComponent
objects.
-
process
This method return the user's roles and privileges.- Specified by:
process
in interfacecom.skava.core.EcommService<ClientRoleRequest,
ClientsRolesResponse> - Parameters:
input
- aClientsRoleRequest
object.- Returns:
- a
ResponseModel
object.
-
getClientRole
This method is used to retrieve the roles of the client.- Parameters:
clientId
- aLong
object.collectionId
- aLong
object.- Returns:
- a
List
ofClientRole
objects.
-