1 27 28 29 package com.sun.ebank.ejb.tx; 30 31 import java.util.*; 32 import java.math.*; 33 import javax.ejb.*; 34 import com.sun.ebank.ejb.exception.*; 35 36 37 public interface TxHome extends EJBLocalHome { 38 public Tx create(String txId, String accountId, Date timeStamp, 39 BigDecimal amount, BigDecimal balance, String description) 40 throws CreateException, MissingPrimaryKeyException; 41 42 public Tx findByPrimaryKey(String txId) throws FinderException; 43 44 public Collection findByAccountId(Date startDate, Date endDate, 45 String accountId) throws FinderException; 46 } 47 | Popular Tags |