|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ei.txnhandler.persister.TxnPersister
This class is the Transaction Handler implementation of the EPersister and SessionAmendPersister interfaces, it is responsible for entity communication with the Cache and the Transaction Handler
Constructor Summary | |
TxnPersister()
Default Constructor |
Method Summary | |
void |
amend(EBMPEntity entityBean,
java.lang.String methodName)
This method is used to update some or all attributes in the data store |
void |
amend(EBMPEntity entityBean,
java.lang.String methodName,
boolean removeOperation)
This method is used to update some or all attributes in the data store |
void |
amend(EBMPEntity entityBean,
java.lang.String methodName,
DataPacket amendData)
This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes |
void |
amend(EBMPEntity entityBean,
java.lang.String methodName,
DataPacket amendData,
boolean removeOperation)
This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes |
java.util.Vector |
amend(java.lang.String ejbName,
java.lang.String methodName,
DataPacket data,
java.util.Vector primaryKeys,
boolean removeOperation)
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 |
java.util.Enumeration |
find(EBMPEntity entityBean,
java.lang.String methodName,
DataPacket finderData)
This method is used to find an entity in the data store |
java.util.Vector |
find(java.lang.String ejbName,
java.lang.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 |
removeFromCache(EBMPEntity entityBean)
This method is used to remove an entity from the cache only. |
void |
store(EBMPEntity entityBean)
This method is used to update all attributes in data store |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TxnPersister()
Method Detail |
public void amend(EBMPEntity entityBean, java.lang.String methodName) throws ProcessingErrorException
amend
in interface EPersister
entityBean
- entity to be updated in the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void amend(EBMPEntity entityBean, java.lang.String methodName, DataPacket amendData) throws ProcessingErrorException
amend
in interface EPersister
entityBean
- entity to be updated in the data storeamendData
- the data to use for the amend operation
ProcessingErrorException
- thrown if an error occurs during processingpublic java.util.Vector amend(java.lang.String ejbName, java.lang.String methodName, DataPacket data, java.util.Vector primaryKeys, boolean removeOperation) throws ProcessingErrorException
amend
in interface TxnHandlerBrokerPersister
ejbName
- is the name of the entity to be updated in the data storedata
- the amend dataprimaryKeys
- The primary keys to amend/remove from the cacheremoveOperation
- True if the operation involves removing data from the host false otherwisemethodName
- the name of the method doing the amend
ProcessingErrorException
- thrown if an error occurs during processingpublic void amend(EBMPEntity entityBean, java.lang.String methodName, DataPacket amendData, boolean removeOperation) throws ProcessingErrorException
entityBean
- entity to be updated in the data storeamendData
- the data to use for the amend operationremoveOperation
- True if the operation involves removing data from the host false otherwise
ProcessingErrorException
- thrown if an error occurs during processingpublic void amend(EBMPEntity entityBean, java.lang.String methodName, boolean removeOperation) throws ProcessingErrorException
entityBean
- entity to be updated in the data storeremoveOperation
- True if the operation involves removing data from the host false otherwise
ProcessingErrorException
- thrown if an error occurs during processingpublic EPrimaryKey create(EBMPEntity entityBean) throws ProcessingErrorException
create
in interface EPersister
entityBean
- entity to be created in the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic java.util.Enumeration find(EBMPEntity entityBean, java.lang.String methodName, DataPacket finderData) throws ProcessingErrorException
find
in interface EPersister
entityBean
- entity to be found in the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic java.util.Vector find(java.lang.String ejbName, java.lang.String methodName, DataPacket finderData) throws ProcessingErrorException
find
in interface TxnHandlerBrokerPersister
ejbName
- entity to be updated in the data storemethodName
- the name of the method doing the amendfinderData
-
ProcessingErrorException
- thrown if an error occurs during processingpublic void load(EBMPEntity entityBean) throws ProcessingErrorException
load
in interface EPersister
entityBean
- entity to be loaded from the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void remove(EBMPEntity entityBean) throws ProcessingErrorException
remove
in interface EPersister
entityBean
- entity to be removed from the data store
ProcessingErrorException
- thrown if an error occurs during processingpublic void removeFromCache(EBMPEntity entityBean) throws ProcessingErrorException
removeFromCache
in interface EPersister
entityBean
- entity to be removed from the cache
ProcessingErrorException
- thrown if an error occurs during processingpublic void store(EBMPEntity entityBean) throws ProcessingErrorException
store
in interface EPersister
entityBean
- 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 |