@Scope(value="prototype")
@Component
public class AuthUserroleAccesscontrolComponent
extends java.lang.Object
Constructor and Description |
---|
AuthUserroleAccesscontrolComponent() |
Modifier and Type | Method and Description |
---|---|
AuthUserroleAccesscontrolDO |
executeRepositoryQuery(java.lang.String profileType,
java.lang.String authUserRoleRegistryIdpk,
java.lang.String configTxnRegistryIdpk,
java.lang.String filter)
Execute the query using JPA Repository
|
TxnTransferObj |
findAuthUserroleAccesscontrolByRegistryIdpk(TxnTransferObj txnTransferObj)
Returns all the records from the for AuthUserroleAccesscontrolDO entity
based on ProfileType and AuthUserRoleRegistryIdpk, maximum of records as
configuration in properties
|
org.springframework.data.domain.Page<AuthUserroleAccesscontrolDO> |
findAuthUserroleAccesscontrolByRegistryIdpkFromRepository(java.lang.String profileType,
java.lang.String authUserRoleRegistryIdpk,
java.lang.String filter,
java.lang.Integer requestedPageNumber,
java.lang.Integer requestedPageSize,
TxnTransferObj txnTransferObj) |
TxnTransferObj |
findByBusinessKey(TxnTransferObj txnTransferObj)
This method search the database table REF_CURRENCY records based on
business key (profileType, authUserRoleRegistryIdpk, configTxnRegistryIdpk)
|
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 AuthUserroleAccesscontrolDO object is not present in the
request or other mandatory attributes not presentpublic TxnTransferObj merge(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserroleAccesscontrolDO 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 AuthUserroleAccesscontrolDO object is not present in the
request or mandatory attributes primary key is not presentpublic TxnTransferObj findAuthUserroleAccesscontrolByRegistryIdpk(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserroleAccesscontrolDO object is not present in the
request or mandatory attributes business key is not presentpublic org.springframework.data.domain.Page<AuthUserroleAccesscontrolDO> findAuthUserroleAccesscontrolByRegistryIdpkFromRepository(java.lang.String profileType, java.lang.String authUserRoleRegistryIdpk, java.lang.String filter, java.lang.Integer requestedPageNumber, java.lang.Integer requestedPageSize, TxnTransferObj txnTransferObj)
public TxnTransferObj findByBusinessKey(TxnTransferObj txnTransferObj)
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- if AuthUserroleAccesscontrolDO object is not present in the
request or mandatory attributes business key is not presentpublic AuthUserroleAccesscontrolDO executeRepositoryQuery(java.lang.String profileType, java.lang.String authUserRoleRegistryIdpk, java.lang.String configTxnRegistryIdpk, java.lang.String filter)
profileType
- authUserRoleRegistryIdpk
- configTxnRegistryIdpk
- filter
-