Class UinServiceImpl

  • All Implemented Interfaces:
    UinService

    @Component
    public class UinServiceImpl
    extends Object
    implements UinService
    Since:
    1.0.0
    Author:
    Dharmesh Khandelwal, Megha Tanga, Urvil Joshi
    • Constructor Detail

      • UinServiceImpl

        public UinServiceImpl()
    • Method Detail

      • getUin

        @Transactional
        public UinResponseDto getUin​(io.vertx.ext.web.RoutingContext routingContext)
        Description copied from interface: UinService
        Gets a uin from database
        Specified by:
        getUin in interface UinService
        Returns:
        UinResponseDto
      • updateUinStatus

        public UinStatusUpdateReponseDto updateUinStatus​(UinEntity uinAck,
                                                         io.vertx.ext.web.RoutingContext routingContext)
        Description copied from interface: UinService
        Update the status of the Uin from ISSUED to ASSIGNED
        Specified by:
        updateUinStatus in interface UinService
        Parameters:
        uinAck - pass uin object as param
        Returns:
        UinStatusUpdateReponseDto
      • transferUin

        @Transactional(transactionManager="transactionManager")
        public void transferUin()
        Specified by:
        transferUin in interface UinService