1 22 package org.jboss.test.banknew.interfaces; 23 24 27 public interface TellerSession extends javax.ejb.EJBObject 28 { 29 30 public void deposit(java.lang.String pToAccountId, float pAmount) 31 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 32 33 public void transfer(java.lang.String pFromAccountId, java.lang.String pToAccountId, float pAmount) 34 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 35 36 public void withdraw(java.lang.String pFromAccountId, float pAmount) 37 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 38 39 public org.jboss.test.banknew.interfaces.AccountData createAccount(java.lang.String pCustomerId, int pType, 40 float pInitialDeposit) throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 41 42 public void removeAccount(java.lang.String pAccountId) throws org.jboss.test.banknew.interfaces.BankException, 43 java.rmi.RemoteException ; 44 45 public void removeAccount(java.lang.String pCustomerId, int pType) 46 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 47 48 public java.util.Collection getAccounts(java.lang.String pCustomerId) 49 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 50 51 public org.jboss.test.banknew.interfaces.AccountData getAccount(java.lang.String pCustomerId, int pType) 52 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 53 54 public org.jboss.test.banknew.interfaces.AccountData getAccount(java.lang.String pAccountId) 55 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 56 57 public org.jboss.test.banknew.interfaces.CustomerData createCustomer(java.lang.String pBankId, 58 java.lang.String pName, float pInitialDeposit) throws org.jboss.test.banknew.interfaces.BankException, 59 java.rmi.RemoteException ; 60 61 public void removeCustomer(java.lang.String pCustomerId) throws org.jboss.test.banknew.interfaces.BankException, 62 java.rmi.RemoteException ; 63 64 public org.jboss.test.banknew.interfaces.CustomerData getCustomer(java.lang.String pCustomerId) 65 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 66 67 public java.util.Collection getCustomers(java.lang.String pBankId) 68 throws org.jboss.test.banknew.interfaces.BankException, java.rmi.RemoteException ; 69 70 } 71 | Popular Tags |