com.bankframe.ei.txnhandler.dataformat.jdbc
Class JDBCDataFormat

java.lang.Object
  |
  +--com.bankframe.ei.txnhandler.dataformat.basic.BasicDataFormat
        |
        +--com.bankframe.ei.txnhandler.dataformat.jdbc.JDBCDataFormat
All Implemented Interfaces:
DataFormat

public class JDBCDataFormat
extends BasicDataFormat

Insert the type's description here. Creation date: (10/19/01 1:35:29 PM)


Constructor Summary
JDBCDataFormat()
          JDBCDataFormatter constructor comment.
 
Method Summary
 java.lang.Object buildRequestTxn(DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType)
          This method converts a Data Packet request to a Host System format using a List of Transaction Fields.
 boolean moreToRequest()
          This method indicates there are more Packets to process from host system, the method toDataPackets() sets this flag if it determines that there is more data to be requested from the host system.
 void notifyProcessingFinished()
          This method is called by the Transaction Handler bean when a all processing for a transaction is complete.
 void toDataPacketsMap(java.lang.Object txnData, java.util.Map entitiesMap, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType)
          This method converts the Vector of Host System Txn Fields data elements into a Map of DataPackets, this method is called by the txn handler method processFindRequest( )
 void toDataPacketsVector(java.lang.Object txnData, java.util.Vector responseEntitiesVector, DataPacket txnDataPacket, java.lang.String txnCode, java.lang.String txnType)
          This method converts the Vector of Host System Response into a Vector of result DataPackets, this method is called by the txn handler method processRequest( )
 
Methods inherited from class com.bankframe.ei.txnhandler.dataformat.basic.BasicDataFormat
setConnectionSpecification
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCDataFormat

public JDBCDataFormat()
JDBCDataFormatter constructor comment.

Method Detail

buildRequestTxn

public java.lang.Object buildRequestTxn(DataPacket txnDataPacket,
                                        java.lang.String txnCode,
                                        java.lang.String txnType)
                                 throws ProcessingErrorException
Description copied from class: BasicDataFormat
This method converts a Data Packet request to a Host System format using a List of Transaction Fields.

Specified by:
buildRequestTxn in interface DataFormat
Overrides:
buildRequestTxn in class BasicDataFormat
Parameters:
txnDataPacket - is DataPacket of transaction settings
txnCode - is the transaction code
txnType - is the transaction type
Returns:
Host System formatted Object
Throws:
ProcessingErrorException

moreToRequest

public boolean moreToRequest()
Description copied from class: BasicDataFormat
This method indicates there are more Packets to process from host system, the method toDataPackets() sets this flag if it determines that there is more data to be requested from the host system. This is required for systems that break the response into sub-parts. Transaction Handler checks this to determine if another request is to be posted to the host system..

Specified by:
moreToRequest in interface DataFormat
Overrides:
moreToRequest in class BasicDataFormat
Returns:
boolean indicating more data to request

notifyProcessingFinished

public void notifyProcessingFinished()
Description copied from class: BasicDataFormat
This method is called by the Transaction Handler bean when a all processing for a transaction is complete. This allows the Data-Format class to clean up any temporary data and variables.

Specified by:
notifyProcessingFinished in interface DataFormat
Overrides:
notifyProcessingFinished in class BasicDataFormat

toDataPacketsMap

public void toDataPacketsMap(java.lang.Object txnData,
                             java.util.Map entitiesMap,
                             DataPacket txnDataPacket,
                             java.lang.String txnCode,
                             java.lang.String txnType)
                      throws ProcessingErrorException
Description copied from class: BasicDataFormat
This method converts the Vector of Host System Txn Fields data elements into a Map of DataPackets, this method is called by the txn handler method processFindRequest( )

Specified by:
toDataPacketsMap in interface DataFormat
Overrides:
toDataPacketsMap in class BasicDataFormat
Parameters:
txnDataPacket - DataPacket of request settings.
txnCode - is transaction code
txnType - is transaction type
ProcessingErrorException

toDataPacketsVector

public void toDataPacketsVector(java.lang.Object txnData,
                                java.util.Vector responseEntitiesVector,
                                DataPacket txnDataPacket,
                                java.lang.String txnCode,
                                java.lang.String txnType)
                         throws ProcessingErrorException
This method converts the Vector of Host System Response into a Vector of result DataPackets, this method is called by the txn handler method processRequest( )

Specified by:
toDataPacketsVector in interface DataFormat
Overrides:
toDataPacketsVector in class BasicDataFormat
Parameters:
txnData - is Object(Vector) data from host system.
responseEntitiesVector - is the Vector of DataPacket entities updated/created from host system data
txnDataPacket - is DataPacket of request settings.
txnCode - is transaction code
txnType - is transaction type
ProcessingErrorException


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