Class ModifyRoleServiceImpl

java.lang.Object
com.skava.auth.service.impl.role.ModifyRoleServiceImpl
All Implemented Interfaces:
ModifyRoleService, com.skava.core.EcommService<RoleVO,RoleResponse>

@Service @Transactional(propagation=REQUIRED, readOnly=false, noRollbackFor=java.lang.Exception.class) public class ModifyRoleServiceImpl extends Object implements ModifyRoleService
This service class implements UpdateRoleService and handles the update role service request, process it and save the details in DB. It also implements business logic required to update requested role.
Author:
Infosys Equinox
  • Constructor Details

    • ModifyRoleServiceImpl

      public ModifyRoleServiceImpl()
      The class constructor.
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<RoleVO,RoleResponse>
    • process

      @SendEvent(eventType="authservice/role/patch", identifier="response_role.id") public RoleResponse process(RoleVO modifiedRole)
      Specified by:
      process in interface com.skava.core.EcommService<RoleVO,RoleResponse>
      Parameters:
      modifiedRole - a RoleVO object
      Returns:
      RoleResponse returns roleresponse