1 22 package org.jboss.test.banknew.interfaces; 23 24 27 public interface AccountSession extends javax.ejb.EJBObject 28 { 29 30 public org.jboss.test.banknew.interfaces.AccountData getAccount(java.lang.String pAccountId) 31 throws javax.ejb.FinderException , java.rmi.RemoteException ; 32 33 public org.jboss.test.banknew.interfaces.AccountData getAccount(java.lang.String pCustomerId, int pType) 34 throws javax.ejb.FinderException , java.rmi.RemoteException ; 35 36 public java.util.Collection getAccounts(java.lang.String pCustomerId) throws javax.ejb.FinderException , 37 java.rmi.RemoteException ; 38 39 public java.util.Collection getTransactions(java.lang.String pAccountId) throws javax.ejb.FinderException , 40 java.rmi.RemoteException ; 41 42 public org.jboss.test.banknew.interfaces.AccountData createAccount(java.lang.String pCustomerId, int pType, 43 float pInitialDeposit) throws javax.ejb.CreateException , java.rmi.RemoteException ; 44 45 public void removeAccount(java.lang.String pAccountId) throws javax.ejb.RemoveException , java.rmi.RemoteException ; 46 47 public void removeAccount(java.lang.String pCustomerId, int pType) throws javax.ejb.RemoveException , 48 java.rmi.RemoteException ; 49 50 public void removeTransactions(java.lang.String pAccountId) throws javax.ejb.RemoveException , 51 java.rmi.RemoteException ; 52 53 public void deposit(java.lang.String pAccountId, float pAmount) throws javax.ejb.FinderException , 54 java.rmi.RemoteException ; 55 56 public void withdraw(java.lang.String pAccountId, float pAmount) throws javax.ejb.FinderException , 57 java.rmi.RemoteException ; 58 59 public void transfer(java.lang.String pFromAccountId, java.lang.String pToAccountId, float pAmount) 60 throws javax.ejb.FinderException , java.rmi.RemoteException ; 61 62 } 63 | Popular Tags |