01: /*
02: * transactionsDiscRack
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package transactionsDiscRack.spec;
09:
10: import org.enhydra.dods.exceptions.AssertionDataObjectException;
11:
12: import com.lutris.appserver.server.sql.DBTransaction;
13:
14: public interface Person {
15:
16: public String getHandle() throws TransactionsDiscRackException;
17:
18: public String getLogin() throws TransactionsDiscRackException;
19:
20: public String getPassword() throws TransactionsDiscRackException;
21:
22: public String getFirstname() throws TransactionsDiscRackException;
23:
24: public String getLastname() throws TransactionsDiscRackException;
25:
26: public void setLogin(String login)
27: throws TransactionsDiscRackException;
28:
29: public void setPassword(String password)
30: throws TransactionsDiscRackException;
31:
32: public void setFirstname(String firstname)
33: throws TransactionsDiscRackException;
34:
35: public void setLastname(String lastname)
36: throws TransactionsDiscRackException;
37:
38: public void save(DBTransaction transaction)
39: throws TransactionsDiscRackException,
40: AssertionDataObjectException;
41:
42: }
|