|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.ei.txnhandler.persister.TxnPersister
com.bankframe.ei.txnhandler.persister.StoreAndForwardPersister
com.bankframe.ei.txnhandler.persister.StoreMasterEntityPersister
public class StoreMasterEntityPersister
This class is used to persist entities which have dependent objects. It works by merging the master and it's entities DataPackets into a single DataPacket.
| Constructor Summary | |
|---|---|
StoreMasterEntityPersister()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
amend(EBMPEntity entityBean,
String methodName)
This method is used to update some or all attributes in the data store |
void |
amend(EBMPEntity entityBean,
String methodName,
DataPacket data)
This method is used to update some or all attributes in the data store |
EPrimaryKey |
create(EBMPEntity entityBean)
This method is used to create an entity in the data store |
Enumeration |
find(EBMPEntity entityBean,
String methodName,
DataPacket finderData)
This method is used to find an entity in the data store |
void |
load(EBMPEntity entityBean)
This method is used to load an entity from the data store |
void |
remove(EBMPEntity entityBean)
This method is used to remove an entity from the data store |
void |
store(EBMPEntity entityBean)
This method is used to update all attributes in data store |
| Methods inherited from class com.bankframe.ei.txnhandler.persister.StoreAndForwardPersister |
|---|
amend |
| Methods inherited from class com.bankframe.ei.txnhandler.persister.TxnPersister |
|---|
amend, amend, find, removeFromCache |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoreMasterEntityPersister()
| Method Detail |
|---|
public void amend(EBMPEntity entityBean,
String methodName)
throws ProcessingErrorException
amend in interface EPersisteramend in class TxnPersisterentityBean - entity to be updated in the data storemethodName - the name of the method doing the amend
ProcessingErrorException - thrown if an error occurs during processing
public void amend(EBMPEntity entityBean,
String methodName,
DataPacket data)
throws ProcessingErrorException
amend in interface EPersisteramend in class TxnPersisterentityBean - entity to be updated in the data storemethodName - the name of the method doing the amenddata - DataPacket
ProcessingErrorException - thrown if an error occurs during processing
public EPrimaryKey create(EBMPEntity entityBean)
throws ProcessingErrorException
create in interface EPersistercreate in class TxnPersisterentityBean - entity to be created in the data store
ProcessingErrorException - thrown if an error occurs during processing
public Enumeration find(EBMPEntity entityBean,
String methodName,
DataPacket finderData)
throws ProcessingErrorException
find in interface EPersisterfind in class TxnPersisterentityBean - entity to be found in the data storemethodName - the name of the method doing the find e.g. findByPrimaryKey()finderData - the data needed by the datasource to conduct search
ProcessingErrorException - thrown if an error occurs during processing
public void load(EBMPEntity entityBean)
throws ProcessingErrorException
load in interface EPersisterload in class TxnPersisterentityBean - entity to be loaded from the data store
ProcessingErrorException - thrown if an error occurs during processing
public void remove(EBMPEntity entityBean)
throws ProcessingErrorException
remove in interface EPersisterremove in class TxnPersisterentityBean - entity to be removed from the data store
ProcessingErrorException - thrown if an error occurs during processing
public void store(EBMPEntity entityBean)
throws ProcessingErrorException
store in interface EPersisterstore in class TxnPersisterentityBean - entity to be stored in the data store
ProcessingErrorException - thrown if an error occurs during processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||