@Scope(value="prototype")
@Component
public class AuthUserRegistryComponent
extends java.lang.Object
Constructor and Description |
---|
AuthUserRegistryComponent() |
Modifier and Type | Method and Description |
---|---|
AuthUserRegistryDO |
executeRepositoryQuery(java.lang.String userName,
java.lang.String filter)
Execute the query using JPA Repository
|
TxnTransferObj |
findByBusinessKey(TxnTransferObj txnTransferObj)
This method search the database table records based on business key
(e.g.UserName)
|
TxnTransferObj |
findById(TxnTransferObj txnTransferObj)
This method search the database record based on primary key.
|
TxnTransferObj |
merge(TxnTransferObj txnTransferObj)
This service updates the record in database.
|
TxnTransferObj |
persist(TxnTransferObj txnTransferObj)
This method creates a record in database.
|
public TxnTransferObj persist(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserRegistryDO object is not present in the request or
other mandatory attributes not presentpublic TxnTransferObj merge(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserRegistryDO object is not present in the request or
mandatory attributes primary key is not presentpublic TxnTransferObj findById(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserRegistryDO object is not present in the request or
mandatory attributes primary key is not presentpublic TxnTransferObj findByBusinessKey(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserRegistryDO object is not present in the request or
mandatory attributes business key is not presentpublic AuthUserRegistryDO executeRepositoryQuery(java.lang.String userName, java.lang.String filter)
userName
- filter
-