|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectajax.database.User
public class User
Hibernate entity bean for the User table
| Constructor Summary | |
|---|---|
User()
|
|
User(java.lang.String name,
java.lang.String email)
Convienance constructor for this class. |
|
| Method Summary | |
|---|---|
java.util.Date |
getAdded()
Get Wrapper for the added column of the database. |
java.lang.String |
getEmail()
Get Wrapper for the email column of the database. |
java.util.Date |
getLast_action()
Get Wrapper for the last_action column of the database. |
java.util.Date |
getLast_heartbeat()
Get Wrapper for the last_heartbeat column of the database. |
java.util.List |
getPendingMessages()
|
java.lang.Integer |
getUserid()
|
java.lang.String |
getUsername()
Get Wrapper for the username column of the database. |
void |
setAdded(java.util.Date added)
Set wrapper for the added column of the database table |
void |
setEmail(java.lang.String email)
Set wrapper for the email column of the database table |
void |
setLast_action(java.util.Date last_action)
Set wrapper for the last_action column of the database table |
void |
setLast_heartbeat(java.util.Date last_heartbeat)
Set wrapper for the last_heartbeat column of the database table |
void |
setPendingMessages(java.util.List pendingMessages)
Set wrapper for the hibernate-mapped message list for this user |
void |
setUserid(java.lang.Integer userid)
Set wrapper for the userid column of the database table |
void |
setUsername(java.lang.String username)
Set wrapper for the username column of the database table |
boolean |
validateCredentials(java.lang.String email)
Simply for convienance, compares a string to this users email |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public User()
public User(java.lang.String name,
java.lang.String email)
| Method Detail |
|---|
public java.util.Date getAdded()
public void setAdded(java.util.Date added)
added - the new valuepublic java.lang.String getEmail()
public void setEmail(java.lang.String email)
email - the new valuepublic java.util.Date getLast_action()
public void setLast_action(java.util.Date last_action)
last_action - the new valuepublic java.util.Date getLast_heartbeat()
public void setLast_heartbeat(java.util.Date last_heartbeat)
last_heartbeat - the new valuepublic java.lang.Integer getUserid()
public void setUserid(java.lang.Integer userid)
userid - the new valuepublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username - the new valuepublic void setPendingMessages(java.util.List pendingMessages)
pendingMessages - A list of PendingMessage objects to replace the
existing messagespublic boolean validateCredentials(java.lang.String email)
email - the string to compare against
public java.util.List getPendingMessages()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||