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