com.bankframe.ei.txnhandler.oldpersister
Class TxnPersister

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.oldpersister.TxnPersister
All Implemented Interfaces:
EPersister

Deprecated. use com.bankframe.ei.txnhandler.persister.TxnPersister instead

public class TxnPersister
extends java.lang.Object
implements EPersister

This class is provided for backwards compatability. It uses the deprecated transaction handler caching functionality as provided in MCA 3.6.1. This class has been superceded by the com.bankframe.ei.txnhandler.persister.TxnPersister class which uses the new Caching Framework instead.


Constructor Summary
TxnPersister()
          Deprecated. Default Constructor
 
Method Summary
 void amend(EBMPEntity entityBean, java.lang.String methodName)
          Deprecated. This method is used to update some or all attributes in the data store
 void amend(EBMPEntity entityBean, java.lang.String methodName, boolean removeOperation)
          Deprecated. This method is used to update some or all attributes in the data store
 void amend(EBMPEntity entityBean, java.lang.String methodName, DataPacket amendData)
          Deprecated. 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)
          Deprecated. This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes
 EPrimaryKey create(EBMPEntity entityBean)
          Deprecated. This method is used to create an entity in the data store
 java.util.Enumeration find(EBMPEntity entityBean, java.lang.String methodName, DataPacket finderData)
          Deprecated. This method is used to find an entity in the data store
 void load(EBMPEntity entityBean)
          Deprecated. This method is used to load an entity from the data store
 void remove(EBMPEntity entityBean)
          Deprecated. This method is used to remove an entity from the data store
 void removeFromCache(EBMPEntity entityBean)
          Deprecated. This method is used to remove an entity from the cache only.
 void removeListFromCache(DataPacket dataPacket)
          Deprecated. Needed by the interface, empty implementation here
 void store(EBMPEntity entityBean)
          Deprecated. 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

TxnPersister

public TxnPersister()
Deprecated. 
Default Constructor

Method Detail

find

public java.util.Enumeration find(EBMPEntity entityBean,
                                  java.lang.String methodName,
                                  DataPacket finderData)
                           throws ProcessingErrorException
Deprecated. 
This method is used to find an entity in the data store

Specified by:
find in interface EPersister
Parameters:
entityBean - entity to be found in the data store
Returns:
Enumeration returns an enumeration of primaryKeys
Throws:
ProcessingErrorException - thrown if an error occurs during processing

load

public void load(EBMPEntity entityBean)
          throws ProcessingErrorException
Deprecated. 
This method is used to load an entity from the data store

Specified by:
load in interface EPersister
Parameters:
entityBean - entity to be loaded from the data store
Throws:
ProcessingErrorException - thrown if an error occurs during processing

create

public EPrimaryKey create(EBMPEntity entityBean)
                   throws ProcessingErrorException
Deprecated. 
This method is used to create an entity in the data store

Specified by:
create in interface EPersister
Parameters:
entityBean - entity to be created in the data store
Returns:
EPrimaryKey returns the primaryKey of the entity
Throws:
ProcessingErrorException - thrown if an error occurs during processing

remove

public void remove(EBMPEntity entityBean)
            throws ProcessingErrorException
Deprecated. 
This method is used to remove an entity from the data store

Specified by:
remove in interface EPersister
Parameters:
entityBean - entity to be removed from the data store
Throws:
ProcessingErrorException - thrown if an error occurs during processing

removeFromCache

public void removeFromCache(EBMPEntity entityBean)
                     throws ProcessingErrorException
Deprecated. 
This method is used to remove an entity from the cache only.

Specified by:
removeFromCache in interface EPersister
Parameters:
entityBean - entity to be removed from the cache
Throws:
ProcessingErrorException - thrown if an error occurs during processing

store

public void store(EBMPEntity entityBean)
           throws ProcessingErrorException
Deprecated. 
This method is used to update all attributes in data store

Specified by:
store in interface EPersister
Parameters:
entityBean - entity to be stored in the data store
Throws:
ProcessingErrorException - thrown if an error occurs during processing

amend

public void amend(EBMPEntity entityBean,
                  java.lang.String methodName,
                  DataPacket amendData)
           throws ProcessingErrorException
Deprecated. 
This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes

Specified by:
amend in interface EPersister
Parameters:
entityBean - entity to be updated in the data store
amendData - the data to use for the amend operation
Throws:
ProcessingErrorException - thrown if an error occurs during processing

amend

public void amend(EBMPEntity entityBean,
                  java.lang.String methodName,
                  DataPacket amendData,
                  boolean removeOperation)
           throws ProcessingErrorException
Deprecated. 
This method is used to update some or all attributes in the data store using the specified amendData rather that the entityBean's attributes

Parameters:
entityBean - entity to be updated in the data store
amendData - the data to use for the amend operation
removeOperation - Indicates if this operation is a remove operation which means the cache contents must be removed
Throws:
ProcessingErrorException - thrown if an error occurs during processing

amend

public void amend(EBMPEntity entityBean,
                  java.lang.String methodName,
                  boolean removeOperation)
           throws ProcessingErrorException
Deprecated. 
This method is used to update some or all attributes in the data store

Parameters:
entityBean - entity to be updated in the data store
removeOperation - Indicates if this operation is a remove operation which means the cache contents must be removed
Throws:
ProcessingErrorException - thrown if an error occurs during processing

amend

public void amend(EBMPEntity entityBean,
                  java.lang.String methodName)
           throws ProcessingErrorException
Deprecated. 
This method is used to update some or all attributes in the data store

Specified by:
amend in interface EPersister
Parameters:
entityBean - entity to be updated in the data store
Throws:
ProcessingErrorException - thrown if an error occurs during processing

removeListFromCache

public void removeListFromCache(DataPacket dataPacket)
                         throws ProcessingErrorException
Deprecated. 
Needed by the interface, empty implementation here

Throws:
ProcessingErrorException


Copyright © 2004 Siebel Systems, Inc. All rights reserved.