Class GetUserRolesServiceImpl
java.lang.Object
com.skava.auth.service.impl.userrole.GetUserRolesServiceImpl
- All Implemented Interfaces:
GetUserRolesService
,com.skava.core.EcommService<UserRoleRequest,
UsersRolesResponse>
@Service
@Transactional(readOnly=true,
noRollbackFor=java.lang.Exception.class)
public class GetUserRolesServiceImpl
extends Object
implements GetUserRolesService
This service class implements DeleteUserRolesService and handles the delete roles of the user.
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUserRole
(Long userId, Long collectionId) This method is used to retrieve the roles of the user.List<com.skava.core.validation.ValidatorComponent>
This method return the list of validation component.process
(UserRoleRequest 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
-
GetUserRolesServiceImpl
public GetUserRolesServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
This method return the list of validation component.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<UserRoleRequest,
UsersRolesResponse> - Returns:
- a @
List
ofValidatorComponent
objects.
-
process
This method return the user's roles and privileges.- Specified by:
process
in interfacecom.skava.core.EcommService<UserRoleRequest,
UsersRolesResponse> - Parameters:
input
- aUsersRoleRequest
object.- Returns:
- a
ResponseModel
object.
-
getUserRole
This method is used to retrieve the roles of the user.
-