01: package org.enhydra.dm.api;
02:
03: import org.enhydra.dm.api.exceptions.BaseException;
04: import org.enhydra.dm.data.AppUserDO;
05:
06: /**
07: * AppUser interface that represents association with
08: * AppUserDO object with additional business functionality extensions.
09: *
10: * @author Svjetlana Milidrag
11: */
12: public interface AppUser {
13:
14: public String getFirstname();
15:
16: public void setFirstname(String firstname);
17:
18: public String getLastname();
19:
20: public void setLastname(String lastname);
21:
22: public String getId();
23:
24: public void setId(String id);
25:
26: public String getPassword();
27:
28: public void setPassword(String password);
29:
30: public String getRole();
31:
32: public void setRole(String role);
33:
34: public String getUsername();
35:
36: public void setUsername(String username);
37:
38: public AppUserDO createDO() throws BaseException;
39: }
|