|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BasicUser
A light weight user object used for remote services. Objects of this class is immutable. Since it's built of only simple Java classes, serialization is no problem.
| Method Summary | |
|---|---|
Date |
getCreated()
|
String |
getFirstName()
|
String |
getFullName()
|
Date |
getLastLogin()
|
String |
getLastName()
|
String |
getNextLoginKey()
Returns the login key that should be used for the next login. |
String |
getProperty(String key)
|
Set<String> |
getPropertyKeys()
|
Date |
getUpdateTimestamp()
Returns the update timestamp for the object. |
Long |
getUserId()
|
String |
getUsername()
Deprecated. only delegates to getFullName() |
boolean |
isDirty(Date timestamp)
Returns whether the user object is dirty and needs to be updated or not. |
void |
setNextLoginKey(String nextLoginKey)
Set the login key that should be used for the next login. |
void |
setUpdateTimestamp(Date updateTimestamp)
Set the update timestamp for the object. |
| Method Detail |
|---|
Long getUserId()
String getFirstName()
String getLastName()
String getFullName()
String getUsername()
Date getCreated()
Date getLastLogin()
String getProperty(String key)
Set<String> getPropertyKeys()
String getNextLoginKey()
void setNextLoginKey(String nextLoginKey)
nextLoginKey - the login key that should be used for the next loginDate getUpdateTimestamp()
void setUpdateTimestamp(Date updateTimestamp)
updateTimestamp - the update timestamp for the user objectboolean isDirty(Date timestamp)
timestamp - the timestamp to check against
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||