|
||||||||||
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.CacheIndexPersister
com.bankframe.ei.txnhandler.persister.MasterEntityPersister
public class MasterEntityPersister
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 | |
---|---|
MasterEntityPersister()
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.CacheIndexPersister |
---|
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 MasterEntityPersister()
Method Detail |
---|
public Enumeration find(EBMPEntity entityBean, String methodName, DataPacket finderData) throws ProcessingErrorException
find
in interface EPersister
find
in class CacheIndexPersister
entityBean
- 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 processingpublic void load(EBMPEntity entityBean) throws ProcessingErrorException
load
in interface EPersister
load
in class TxnPersister
entityBean
- entity to be loaded from the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic EPrimaryKey create(EBMPEntity entityBean) throws ProcessingErrorException
create
in interface EPersister
create
in class TxnPersister
entityBean
- entity to be created in the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void remove(EBMPEntity entityBean) throws ProcessingErrorException
remove
in interface EPersister
remove
in class TxnPersister
entityBean
- entity to be removed from the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void store(EBMPEntity entityBean) throws ProcessingErrorException
store
in interface EPersister
store
in class TxnPersister
entityBean
- entity to be stored in the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void amend(EBMPEntity entityBean, String methodName) throws ProcessingErrorException
amend
in interface EPersister
amend
in class TxnPersister
entityBean
- entity to be updated in the data storemethodName
- the name of the method doing the amend
ProcessingErrorException
- thrown if an error occurs during processingpublic void amend(EBMPEntity entityBean, String methodName, DataPacket data) throws ProcessingErrorException
amend
in interface EPersister
amend
in class TxnPersister
entityBean
- 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |