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 Details

    • DeleteUserRolesServiceImpl

      public DeleteUserRolesServiceImpl()
      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<UserRoleRequest,com.skava.core.ResponseModel>
      Returns:
      a @List of ValidatorComponent 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 interface com.skava.core.EcommService<UserRoleRequest,com.skava.core.ResponseModel>
      Parameters:
      input - a UserRoleRequest object.
      Returns:
      a ResponseModel object.
    • deleteUserRole

      public boolean deleteUserRole(Long userId, Long collectionId)
      This method is used to delete roles of the user.
      Parameters:
      userId - a Long object.
      collectionId - a Long object.
      Returns:
      deletion status.