Class GetUsersRoleServiceImpl
java.lang.Object
com.skava.auth.service.impl.userrole.GetUsersRoleServiceImpl
- All Implemented Interfaces:
GetUsersRoleService
,com.skava.core.EcommService<UsersRoleRequest,
UsersRolesResponse>
@Service
@Transactional(readOnly=true,
noRollbackFor=java.lang.Exception.class)
public class GetUsersRoleServiceImpl
extends Object
implements GetUsersRoleService
This service class implements GetUsersRoleService and handles the load all users from a role service request,
process it and save the details in DB. It also implements business logic required to load all users from
a requested role.
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method return the list of validation component.process
(UsersRoleRequest 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
-
GetUsersRoleServiceImpl
public GetUsersRoleServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
This method return the list of validation component.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<UsersRoleRequest,
UsersRolesResponse> - Returns:
- a @
List
ofValidatorComponent
objects.
-
process
This method return the user's roles and privileges.- Specified by:
process
in interfacecom.skava.core.EcommService<UsersRoleRequest,
UsersRolesResponse> - Parameters:
input
- aUsersRoleRequest
object.- Returns:
- a
UsersRolesResponse
object.
-