|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ondelette.servlet.webforum.User
Description of the Class
| Field Summary |
| Fields inherited from interface com.ondelette.servlet.webforum.AutorizationConstants |
ACCOUNTINACTIVE, ADMIN, DELETED, EXECUTIVEMEMBER, IDENTIFIEDGUEST, ILLEGAL, MEMBER, NORMAL, VIPMEMBER |
| Constructor Summary | |
User(java.lang.String login,
java.lang.String password,
java.lang.String email,
int level)
Constructor for the User object |
|
| Method Summary | |
boolean |
checkPassword(java.lang.String password)
|
boolean |
equals(java.lang.Object o)
|
int |
getAutorizationLevel()
Gets the AutorizationLevel attribute of the User object |
protected java.lang.String |
getCookieString()
Gets the CookieString attribute of the User object |
java.lang.String |
getEmail()
Gets the Email attribute of the User object |
java.lang.String |
getLogin()
Gets the Login attribute of the User object |
protected static java.lang.String[] |
getLoginAndPasswordFromCookieString(java.lang.String cookiestring)
|
protected java.lang.String |
getPassword()
Gets the Password attribute of the User object |
int |
hashCode()
|
static User |
read(java.io.InputStreamReader in)
|
void |
setEmail(java.lang.String email)
Sets the Email attribute of the User object |
void |
setLogin(java.lang.String login)
Sets the Login attribute of the User object |
void |
write(java.io.OutputStreamWriter out)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public User(java.lang.String login,
java.lang.String password,
java.lang.String email,
int level)
login - password - email - level - | Method Detail |
public static User read(java.io.InputStreamReader in)
throws java.io.IOException
in -
java.io.IOException
protected static java.lang.String[] getLoginAndPasswordFromCookieString(java.lang.String cookiestring)
throws BadForumCookieException
cookiestring -
BadForumCookieExceptionpublic void setLogin(java.lang.String login)
login - The new Login valuepublic void setEmail(java.lang.String email)
email - The new Email valuepublic java.lang.String getLogin()
public java.lang.String getEmail()
public int getAutorizationLevel()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto -
public boolean checkPassword(java.lang.String password)
password -
public void write(java.io.OutputStreamWriter out)
throws java.io.IOException
out -
java.io.IOExceptionprotected java.lang.String getPassword()
protected java.lang.String getCookieString()
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||