public static class Config.Editor.User extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
clients
The set of client ids.
|
protected String |
firstname
The firstname.
|
protected String |
id
The id.
|
protected Long |
lastModified
The lastModified timestamp.
|
protected String |
lastname
The lastname.
|
protected Long |
lastSaved
The last saved timestamp.
|
protected String |
lockToken
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
User(String id,
String firstname,
String lastname)
Instantiates a new user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(String clientId)
Adds a client.
|
Set<String> |
getClients()
Gets the clients.
|
String |
getFirstname()
Gets the firstname.
|
String |
getId()
Gets the id.
|
long |
getLastModified()
Gets the lastModified.
|
String |
getLastname()
Gets the lastname.
|
long |
getLastSaved()
Gets the last saved.
|
protected String |
getLockToken()
Deprecated.
|
void |
removeClient(String clientId)
Removes a client.
|
void |
setLastModified(long lastModified)
Sets the lastModified.
|
void |
setLastSaved(long lastSaved)
Sets the last saved.
|
protected void |
setLockToken(String lockToken)
Deprecated.
|
protected final String id
protected final String firstname
protected final String lastname
protected Long lastModified
protected Long lastSaved
@Deprecated protected transient String lockToken
public String getId()
public String getFirstname()
public String getLastname()
public long getLastModified()
public void setLastModified(long lastModified)
lastModified - the lastModifiedpublic long getLastSaved()
public void setLastSaved(long lastSaved)
lastSaved - the lastSaved to setpublic void addClient(String clientId)
clientId - the clientIdpublic void removeClient(String clientId)
clientId - the clientId@Deprecated protected String getLockToken()
@Deprecated protected void setLockToken(String lockToken)
lockToken - the lockToken to setCopyright © 2003–2019 eXo Platform SAS. All rights reserved.