User.Gender| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
birthyear()
Current user year of birth
|
java.lang.String |
city()
Current user city:
"SOME CITY NAME" if set
"" if set to do not record, that is user opt out from location services
{code null} if not specified, geoip is used on the server
|
java.util.Set<java.lang.String> |
cohorts()
Current user cohorts set
|
java.lang.String |
country()
Current user country:
"ISO_CODE" of the country if set
"" if set to do not record, that is user opt out from location services
{code null} if not specified, geoip is used on the server
|
java.util.Map<java.lang.String,java.lang.Object> |
custom()
Current user custom data map
|
UserEditor |
edit()
Edit this user.
|
java.lang.String |
email()
Current user email
|
User.Gender |
gender()
Current user gender
|
java.lang.String |
id()
Current device id
|
java.lang.String |
locale()
Current user locale in "lang_COUNTRY", like en_US or de_DE if default device locale is overridden.
|
java.lang.String |
location()
Current user location (string of "LAT,LON" format):
"LAT,LON" if set
"" if set to do not record, that is user opt out from location services
{code null} if not specified, geoip is used on the server
|
java.lang.String |
name()
Current user name
|
java.lang.String |
org()
Current user organization
|
java.lang.String |
phone()
Current user phone
|
byte[] |
picture()
Current user picture
|
java.lang.String |
picturePath()
Current user picture path
|
boolean |
restore(byte[] data) |
java.lang.Long |
storageId() |
java.lang.String |
storagePrefix() |
byte[] |
store() |
java.lang.String |
username()
Current username
|
public UserImpl(CtxCore ctx)
public java.lang.String id()
Userpublic java.lang.String name()
Userpublic java.lang.String username()
Userpublic java.lang.String email()
Userpublic java.lang.String org()
Userpublic java.lang.String phone()
Userpublic byte[] picture()
Userpublic java.lang.String picturePath()
UserpicturePath in class Userpublic User.Gender gender()
Userpublic java.lang.String locale()
UserDeviceCore.getLocale().public java.lang.Integer birthyear()
Userpublic java.lang.String country()
Userpublic java.lang.String city()
Userpublic java.lang.String location()
Userpublic java.util.Set<java.lang.String> cohorts()
Userpublic java.util.Map<java.lang.String,java.lang.Object> custom()
Userpublic UserEditor edit()
UserUserEditor.commit() call.edit in class UserUserEditor objectpublic java.lang.String storagePrefix()
storagePrefix in interface Storable