com.bankframe.ei.txnhandler.storeandforward.storetransaction
Interface StoreTransaction

All Known Subinterfaces:
StoreTransaction

public interface StoreTransaction

The StoreTransaction interface.


Method Summary
 void amend(int sequenceNo, long addTimestamp, java.lang.String requestTransaction, java.lang.String batchedForForward)
          This method amends the details of a given stored transaction
 long getAddTimestamp()
          This method returns the time that this transaction was added to the queue
 java.lang.String getBatchedForForward()
          This method gets the sequence number that was assigned to this transaction
 java.lang.String getRequestTransaction()
          This method gets the string representation (XML) of the client request.
 int getSequenceNo()
          This method gets the sequence number that was assigned to this transaction
 

Method Detail

getAddTimestamp

public long getAddTimestamp()
                     throws java.rmi.RemoteException
This method returns the time that this transaction was added to the queue

Returns:
the timestamp
Throws:
java.rmi.RemoteException

getRequestTransaction

public java.lang.String getRequestTransaction()
                                       throws java.rmi.RemoteException
This method gets the string representation (XML) of the client request.

Returns:
the xml string
Throws:
java.rmi.RemoteException

getSequenceNo

public int getSequenceNo()
                  throws java.rmi.RemoteException
This method gets the sequence number that was assigned to this transaction

Returns:
the sequence number
Throws:
java.rmi.RemoteException

amend

public void amend(int sequenceNo,
                  long addTimestamp,
                  java.lang.String requestTransaction,
                  java.lang.String batchedForForward)
           throws java.rmi.RemoteException
This method amends the details of a given stored transaction

Parameters:
sequenceNo - the new sequence number
addTimestamp - the new stored timestamp
requestTransaction - the new transaction data
Throws:
java.rmi.RemoteException

getBatchedForForward

public java.lang.String getBatchedForForward()
                                      throws java.rmi.RemoteException
This method gets the sequence number that was assigned to this transaction

Returns:
the sequence number
Throws:
java.rmi.RemoteException


Copyright © 2005, 2007, Oracle. All rights reserved.