Class UpdateRoleServiceImpl

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

@Service @Transactional(propagation=REQUIRED, readOnly=false, noRollbackFor=java.lang.Exception.class) public class UpdateRoleServiceImpl extends Object implements UpdateRoleService
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

    • UpdateRoleServiceImpl

      public UpdateRoleServiceImpl()
      The class constructor.
  • Method Details

    • getValidator

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

      @SendEvent(eventType="authservice/role/update", identifier="response_role.id") public RoleResponse process(RoleVO inputRole)
      Specified by:
      process in interface com.skava.core.EcommService<RoleVO,RoleResponse>