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