com.ibm.dse.appl.forwarding.server
Interface ForwarderRetrieveInterface


public interface ForwarderRetrieveInterface

Interface to retrieve the records from the Store table and perform the forward request. The ForwardingServerOperation implements this interface.


Method Summary
 void forwardAllRecords()
          Retrieves all records and forward the transaction messages.
 void forwardRecordsWithCollection(java.util.Enumeration collection)
          Retrieves record with a collection of ids and forward transaction message to host.
 void forwardRecordsWithCriteria(java.lang.String whereClause)
          Retrieves records from Store table using a search criteria and forward transaction messages host.
 void forwardRecordWithID(int identifier)
          Retrieves record and fowards transaction message based on record id.
 

Method Detail

forwardAllRecords

public void forwardAllRecords()
                       throws DSEException
Retrieves all records and forward the transaction messages. Update Store and Jounral table based on each result returned.
Throws:
com.ibm.dse.DSEException, - get thrown when an exceptional event occurs

forwardRecordsWithCollection

public void forwardRecordsWithCollection(java.util.Enumeration collection)
                                  throws DSEException
Retrieves record with a collection of ids and forward transaction message to host. Update Store and Jounral table based on each result returned.
Parameters:
collection - java.util.Enumeration, a collection of store ids
Throws:
com.ibm.dse.base.DSEException, - get thrown when an exceptional event occurs

forwardRecordsWithCriteria

public void forwardRecordsWithCriteria(java.lang.String whereClause)
                                throws DSEException
Retrieves records from Store table using a search criteria and forward transaction messages host. Update Store and Jounral table based on each result returned.
Parameters:
whereClause - java.lang.String, a search criteria
Throws:
com.ibm.dse.base.DSEExeption, - get thrown when an exceptional event occurs

forwardRecordWithID

public void forwardRecordWithID(int identifier)
                         throws DSEException
Retrieves record and fowards transaction message based on record id. Update Store and Jounral table based on the result returned.
Parameters:
identifier - int, a store record id
Throws:
com.ibm.dse.base.DSEException, - get thrown when an exceptional event occurs