1 22 package org.jboss.test.banknew.interfaces; 23 24 27 public interface BankSession extends javax.ejb.EJBObject 28 { 29 30 public org.jboss.test.banknew.interfaces.BankData createBank(java.lang.String pName, java.lang.String pAddress) 31 throws javax.ejb.CreateException , java.rmi.RemoteException ; 32 33 public void removeBank(java.lang.String pBankId) throws javax.ejb.RemoveException , java.rmi.RemoteException ; 34 35 public java.util.Collection getBanks() throws javax.ejb.FinderException , java.rmi.RemoteException ; 36 37 public org.jboss.test.banknew.interfaces.CustomerData getCustomer(java.lang.String pCustomerId) 38 throws javax.ejb.FinderException , java.rmi.RemoteException ; 39 40 public java.util.Collection getCustomers(java.lang.String pBankId) throws javax.ejb.FinderException , 41 java.rmi.RemoteException ; 42 43 public org.jboss.test.banknew.interfaces.CustomerData createCustomer(java.lang.String pBankId, 44 java.lang.String pName, float pInitialDeposit) throws javax.ejb.CreateException , java.rmi.RemoteException ; 45 46 public void removeCustomer(java.lang.String pCustomerId) throws javax.ejb.RemoveException , java.rmi.RemoteException ; 47 48 } 49 | Popular Tags |