@Scope(value="prototype")
@Component
public class AuthRolesRegistryComponent
extends java.lang.Object
Constructor and Description |
---|
AuthRolesRegistryComponent() |
Modifier and Type | Method and Description |
---|---|
AuthRolesRegistryDO |
executeRepositoryQuery(java.lang.String roleName,
java.lang.String filter)
Execute the query using JPA Repository
|
TxnTransferObj |
findByBusinessKey(TxnTransferObj txnTransferObj)
This method search the database table AUTH_ROLES_REGISTRY records based
on business key (e.g.roleName)
|
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 AuthRolesRegistryDO object is not present in the request
or other mandatory attributes not presentpublic TxnTransferObj merge(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthRolesRegistryDO 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 AuthRolesRegistryDO 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 AuthRolesRegistryDO object is not present in the request
or mandatory attributes business key is not presentpublic AuthRolesRegistryDO executeRepositoryQuery(java.lang.String roleName, java.lang.String filter)
roleName
- filter
-