Class DeleteUserRolesServiceImpl
java.lang.Object
com.skava.auth.service.impl.userrole.DeleteUserRolesServiceImpl
- All Implemented Interfaces:
DeleteUserRolesService
,com.skava.core.EcommService<UserRoleRequest,
com.skava.core.ResponseModel>
@Service
@Transactional(readOnly=false,
noRollbackFor=java.lang.Exception.class)
public class DeleteUserRolesServiceImpl
extends Object
implements DeleteUserRolesService
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 TypeMethodDescriptionboolean
deleteUserRole
(Long userId, Long collectionId) This method is used to delete roles of the user.List<com.skava.core.validation.ValidatorComponent>
This method return the list of validation component.com.skava.core.ResponseModel
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
-
DeleteUserRolesServiceImpl
public DeleteUserRolesServiceImpl()The class constructor.
-
-
Method Details
-
getValidator
This method return the list of validation component.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<UserRoleRequest,
com.skava.core.ResponseModel> - Returns:
- a @
List
ofValidatorComponent
objects.
-
process
@SendEvent(eventType="authservice/userrole/delete", identifier="request_userId") public com.skava.core.ResponseModel process(UserRoleRequest input) This method return the user's roles and privileges.- Specified by:
process
in interfacecom.skava.core.EcommService<UserRoleRequest,
com.skava.core.ResponseModel> - Parameters:
input
- aUserRoleRequest
object.- Returns:
- a
ResponseModel
object.
-
deleteUserRole
This method is used to delete roles of the user.
-