1 27 28 29 package com.sun.ebank.ejb.account; 30 31 import java.util.*; 32 import java.math.*; 33 import javax.ejb.*; 34 import com.sun.ebank.ejb.exception.MissingPrimaryKeyException; 35 36 37 public interface AccountHome extends EJBLocalHome { 38 public Account create(String accountId, String type, String description, 39 BigDecimal balance, BigDecimal creditLine, BigDecimal beginBalance, 40 Date beginBalanceTimeStamp, ArrayList customerIds) 41 throws CreateException, MissingPrimaryKeyException; 42 43 public Account findByPrimaryKey(String accountId) throws FinderException; 44 45 public Collection findByCustomerId(String customerId) 46 throws FinderException; 47 } 48 | Popular Tags |