Class CreatePrivilegeServiceImpl

java.lang.Object
com.skava.auth.service.impl.privilege.CreatePrivilegeServiceImpl
All Implemented Interfaces:
CreatePrivilegeService, com.skava.core.EcommService<PrivilegeVO,PrivilegeResponse>

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

    • CreatePrivilegeServiceImpl

      public CreatePrivilegeServiceImpl()
      The class constructor.
  • Method Details

    • getValidator

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

      @SendEvent(eventType="authservice/privilege/create", identifier="response_privilege.privilegeId") public PrivilegeResponse process(PrivilegeVO input)
      Specified by:
      process in interface com.skava.core.EcommService<PrivilegeVO,PrivilegeResponse>