Class UinServiceImpl
- java.lang.Object
-
- io.mosip.kernel.uingenerator.service.impl.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 Summary
Constructors Constructor Description UinServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UinResponseDtogetUin()Gets a uin from databasevoidtransferUin()booleanuinExist(String uin)UinStatusUpdateReponseDtoupdateUinStatus(UinEntity uinAck)Update the status of the Uin from ISSUED to ASSIGNED
-
-
-
Method Detail
-
getUin
@Transactional public UinResponseDto getUin()
Description copied from interface:UinServiceGets a uin from database- Specified by:
getUinin interfaceUinService- Returns:
- UinResponseDto
-
updateUinStatus
public UinStatusUpdateReponseDto updateUinStatus(UinEntity uinAck)
Description copied from interface:UinServiceUpdate the status of the Uin from ISSUED to ASSIGNED- Specified by:
updateUinStatusin interfaceUinService- Parameters:
uinAck- pass uin object as param- Returns:
- UinStatusUpdateReponseDto
-
transferUin
@Transactional(transactionManager="transactionManager") public void transferUin()
- Specified by:
transferUinin interfaceUinService
-
uinExist
public boolean uinExist(String uin)
- Specified by:
uinExistin interfaceUinService
-
-