|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.WebSession
public class WebSession
A session is a whole visit of a player on the website.
For the JSON object serialization, the field names are used. Eg.
{
key: "some string"
player: { name: "some name" }
}
Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.
| Field Summary | |
|---|---|
boolean |
collecting
Interest in collecting |
boolean |
dating
Interest in dating |
boolean |
events
Interest in events |
boolean |
everybodyCanSeeMyPosition
Everybody can see the players position |
boolean |
friendsCanSeeMyPosition
Friends can see the players position |
java.lang.String |
gender
Gender |
java.lang.String |
key
The session key to be used in API calls where an authenticated Player is necessary. |
long |
lastSession
Timestamp when the last session occured before this one |
boolean |
networking
Interest in networking |
boolean |
notifyByEmail
Notifications by email are activated |
boolean |
notifyBySMS
Notifications by SMS are activated |
int |
nov
Number of logins so far |
boolean |
play
Interest in playing quests |
Player |
player
The authenticated Player |
boolean |
trading
Interest in trading |
boolean |
travel
Interest in travelling |
int |
year
Year |
| Constructor Summary | |
|---|---|
WebSession()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean collecting
public boolean dating
public boolean events
public boolean everybodyCanSeeMyPosition
public boolean friendsCanSeeMyPosition
public java.lang.String gender
@PrimaryKey public java.lang.String key
Player is necessary.
public long lastSession
public boolean networking
public boolean notifyByEmail
public boolean notifyBySMS
public int nov
public boolean play
public Player player
Player
public boolean trading
public boolean travel
public int year
| Constructor Detail |
|---|
public WebSession()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||