@Scope(value="prototype")
@Service(value="com.yugandhar.msp.corecomponentref.RefCurrencyService")
public class RefCurrencyService
extends java.lang.Object
Constructor and Description |
---|
RefCurrencyService() |
Modifier and Type | Method and Description |
---|---|
TxnTransferObj |
add(TxnTransferObj txnTransferObj)
This service creates a record in database.
|
TxnTransferObj |
findAllRecordsByLanguageCode(TxnTransferObj txnTransferObj) |
TxnTransferObj |
findByBusinessKey(TxnTransferObj txnTransferObj)
This method search the database record based on business key (e.g.LanguageCode and Key)
|
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.
|
@Transactional public TxnTransferObj add(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- yugandhar common exception if RefCurrencyDO object is not present in the request or other mandatory attributes not present@Transactional public TxnTransferObj merge(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- yugandhar common exception if RefCurrencyDO object is not present in the request or mandatory attributes primary key is not present@Transactional(readOnly=true) public TxnTransferObj findById(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- yugandhar common exception if RefCurrencyDO object is not present in the request or mandatory attributes primary key is not present@Transactional(readOnly=true) public TxnTransferObj findByBusinessKey(TxnTransferObj txnTransferObj) throws YugandharCommonException
txnTransferObj
- Transfer Object TxnTransferObj instanceYugandharCommonException
- yugandhar common exception if RefCurrencyDO object is not present in the request or mandatory attributes business key is not present@Transactional(readOnly=true) public TxnTransferObj findAllRecordsByLanguageCode(TxnTransferObj txnTransferObj) throws YugandharCommonException
YugandharCommonException