01: /*
02: * (C) Copyright 2000 - 2006 Nabh Information Systems, Inc. All Rights Reserved.
03: *
04: * All copyright notices regarding Nabh's products MUST remain
05: * intact in the scripts and in the outputted HTML.
06: * This program is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19: *
20: */
21: package com.nabhinc.spi;
22:
23: import java.io.Serializable;
24: import java.sql.Timestamp;
25: import java.util.Map;
26:
27: /**
28: *
29: *
30: * @author Padmanabh Dabke
31: * (c) 2006 Nabh Information Systems, Inc. All Rights Reserved.
32: */
33: public interface User extends Serializable {
34: int getId();
35:
36: void setId(int id);
37:
38: String getFirstName();
39:
40: void setFirstName(String fName);
41:
42: Timestamp getLastLogin();
43:
44: public void setLastLogin(Timestamp lastLogin);
45:
46: public String getLastName();
47:
48: public void setLastName(String lastName);
49:
50: public String getPrimaryEmail();
51:
52: public void setPrimaryEmail(String primaryEmail);
53:
54: public Map getProfile();
55:
56: public void setProfile(Map profile);
57:
58: public String getUserName();
59:
60: public void setUserName(String userName);
61:
62: public Timestamp getUserSince();
63:
64: public void setUserSince(Timestamp userSince);
65:
66: public boolean isDisabled();
67:
68: public void setDisabled(boolean disabled);
69:
70: public byte[] getIcon();
71:
72: public void setIcon(byte[] icon);
73:
74: }
|