01: package org.objectweb.jonas.jtests.beans.ejbql;
02:
03: import java.rmi.RemoteException;
04: import java.util.Date;
05:
06: import javax.ejb.CreateException;
07: import javax.naming.NamingException;
08:
09: public interface CustomerRemote extends javax.ejb.EJBObject {
10:
11: public void setAddress(String street, String city, String state,
12: String zip) throws RemoteException, CreateException,
13: NamingException;
14:
15: public void setAddress(AddressDO address) throws RemoteException,
16: CreateException, NamingException;
17:
18: public void addPhoneNumber(String number, byte type)
19: throws NamingException, CreateException, RemoteException;
20:
21: public AddressDO getAddress() throws RemoteException;
22:
23: public Name getName() throws RemoteException;
24:
25: public void setName(Name name) throws RemoteException;
26:
27: public boolean getHasGoodCredit() throws RemoteException;
28:
29: public void setHasGoodCredit(boolean flag) throws RemoteException;
30:
31: public Integer getId() throws RemoteException;
32:
33: public void setCreditCard(Date expCreditcard,
34: String numbCreditcard, String nameCreditcard,
35: String orgCreditcard, String nameCreditCompany,
36: String streetAddress, String cityAddress,
37: String stateAddress, String zipAddress)
38: throws RemoteException;
39:
40: }
|