com.bankframe.ei.txnhandler.storeandforward.completedforwardtransaction.impl.errortransaction
Interface ErrorTransactionHome
- All Superinterfaces:
- CompletedForwardTransactionFinders, javax.ejb.EJBHome, java.rmi.Remote
- public interface ErrorTransactionHome
- extends javax.ejb.EJBHome, CompletedForwardTransactionFinders
This interface defines the methods for obtaining ErrorTransaction Entity instances
Field Summary |
static java.lang.String |
JNDI_LOOKUP_NAME
The name this EJB will be registered under JNDI. |
Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData, getHomeHandle, remove, remove |
JNDI_LOOKUP_NAME
public static final java.lang.String JNDI_LOOKUP_NAME
- The name this EJB will be registered under JNDI.
- See Also:
- Constant Field Values
create
public ErrorTransaction create(long forwardedTimestamp,
long storedTimestamp,
java.lang.String forwardedTransaction)
throws javax.ejb.CreateException,
ProcessingErrorException,
java.rmi.RemoteException
- This method initialises a new instance of the ErrorTransaction entity.
- Parameters:
forwardedTimestamp
- time in milliseconds when the transaction was
fowarded to the hoststoredTimestamp
- time in milliseconds when the transaction was
stored in the store queueforwardedTransaction
- the host request transaction
- Returns:
- an ErrorTransaction object
- Throws:
javax.ejb.CreateException
ProcessingErrorException
java.rmi.RemoteException
findByPrimaryKey
public ErrorTransaction findByPrimaryKey(ErrorTransactionPK primaryKey)
throws javax.ejb.FinderException,
java.rmi.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:
javax.ejb.FinderException
- if the entity with the given key is not found
java.rmi.RemoteException
Copyright © 2005, 2007, Oracle. All rights reserved.