com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction
Interface ErrorTransactionHome

All Superinterfaces:
CompletedForwardTransactionFinders, EJBHome, Remote

public interface ErrorTransactionHome
extends EJBHome, CompletedForwardTransactionFinders

This interface defines the methods for obtaining ErrorTransaction Entity instances


Field Summary
static String JNDI_LOOKUP_NAME
          The name this EJB will be registered under JNDI.
 
Method Summary
 ErrorTransaction create(long forwardedTimestamp, long storedTimestamp, String forwardedTransaction)
          This method initialises a new instance of the ErrorTransaction entity.
 ErrorTransaction findByPrimaryKey(ErrorTransactionPK primaryKey)
          This method finds the error transaction with the given primary key
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 
Methods inherited from interface com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.CompletedForwardTransactionFinders
findAll, findInForwardedTimePeriod, findInStoredTimePeriod
 

Field Detail

JNDI_LOOKUP_NAME

static final String JNDI_LOOKUP_NAME
The name this EJB will be registered under JNDI.

See Also:
Constant Field Values
Method Detail

create

ErrorTransaction create(long forwardedTimestamp,
                        long storedTimestamp,
                        String forwardedTransaction)
                        throws CreateException,
                               ProcessingErrorException,
                               RemoteException
This method initialises a new instance of the ErrorTransaction entity.

Parameters:
forwardedTimestamp - time in milliseconds when the transaction was fowarded to the host
storedTimestamp - time in milliseconds when the transaction was stored in the store queue
forwardedTransaction - the host request transaction
Returns:
an ErrorTransaction object
Throws:
CreateException
ProcessingErrorException
RemoteException

findByPrimaryKey

ErrorTransaction findByPrimaryKey(ErrorTransactionPK primaryKey)
                                  throws FinderException,
                                         RemoteException
This method finds the error transaction with the given primary key

Parameters:
primaryKey - the PK to find by
Returns:
an error transaction object
Throws:
FinderException - if the entity with the given key is not found
RemoteException


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