|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object hirondelle.predict.main.preferences.Preferences
public final class Preferences
User preferences.
User preferences are placed into session scope by this app's implementation of LoginTasks
.
Field Summary | |
---|---|
static String |
SCREEN_NAME
Key under which user's screen name is saved in session scope. |
Constructor Summary | |
---|---|
Preferences(Id aUserId,
SafeText aLoginName,
SafeText aScreenName)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object aThat)
|
SafeText |
getLoginName()
Return the login name passed to the constructor. |
SafeText |
getScreenName()
Return the screen name passed to the constructor. |
Id |
getUserId()
Return the user id passed to the constructor. |
int |
hashCode()
|
String |
toString()
Intended for debugging only. |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SCREEN_NAME
Constructor Detail |
---|
public Preferences(Id aUserId, SafeText aLoginName, SafeText aScreenName) throws ModelCtorException
aUserId
- required.aLoginName
- required, 6..50 characters, no spaces.aScreenName
- optional, 6..50 characters.
ModelCtorException
Method Detail |
---|
public Id getUserId()
public SafeText getLoginName()
public SafeText getScreenName()
public String toString()
toString
in class Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Predictions 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |