public class MoxtraUser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Date |
createdTime |
protected String |
email |
protected String |
firstName |
protected int |
hashCode |
protected String |
id |
protected String |
lastName |
protected String |
name |
protected String |
status |
protected String |
type |
protected Date |
updatedTime |
static String |
USER_TYPE_NORMAL |
| Constructor and Description |
|---|
MoxtraUser(String email)
User with only email known (for invitation).
|
MoxtraUser(String name,
String email)
User with name and email known (for invitation).
|
MoxtraUser(String id,
String name,
String email)
User in Moxtra Contacts.
|
MoxtraUser(String id,
String name,
String email,
String type)
User in Moxtra Meet participants.
|
MoxtraUser(String id,
String name,
String email,
String firstName,
String lastName,
String type,
String status,
Date createdTime,
Date updatedTime)
Moxtra user full definition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCreatedTime() |
String |
getEmail() |
String |
getFirstName() |
String |
getId() |
String |
getLastName() |
String |
getName() |
String |
getStatus()
User status depends on a context where user was retrieved.
|
String |
getType()
User type depends on a context where user was retrieved.
|
Date |
getUpdatedTime() |
int |
hashCode() |
protected boolean |
isSameUser(MoxtraUser user)
Compare this user with given by id and then email.
|
String |
toString() |
public static final String USER_TYPE_NORMAL
protected final String id
protected final String name
protected final String email
protected final String firstName
protected final String lastName
protected final String type
protected final String status
protected final Date createdTime
protected final Date updatedTime
protected final int hashCode
public MoxtraUser(String id, String name, String email, String firstName, String lastName, String type, String status, Date createdTime, Date updatedTime)
id - name - email - firstName - lastName - type - createdTime - updatedTime - public MoxtraUser(String id, String name, String email)
id - name - email - public MoxtraUser(String id, String name, String email, String type)
id - name - email - type - public MoxtraUser(String email)
email - public String getId()
public String getName()
public String getEmail()
public String getFirstName()
public String getLastName()
public String getType()
USER_TYPE_NORMAL.public String getStatus()
MoxtraBinder.USER_STATUS_BOARD_MEMBER). By default status is null.nullpublic Date getCreatedTime()
public Date getUpdatedTime()
protected boolean isSameUser(MoxtraUser user)
user - true if users' id or emails equalCopyright © 2003–2015 eXo Platform SAS. All rights reserved.