public class Userdata extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
coEdited
The co edited.
|
protected Boolean |
download
The download.
|
protected String |
key
The key.
|
protected String |
userId
The user id.
|
| Constructor and Description |
|---|
Userdata()
Instantiates a new userdata.
|
Userdata(String userId,
String key,
Boolean download,
Boolean coEdited)
Instantiates a new userdata.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCoEdited()
Gets the coEdited.
|
Boolean |
getDownload()
Gets the download.
|
String |
getKey()
Gets the key.
|
String |
getUserId()
Gets the user id.
|
void |
setCoEdited(Boolean coEdited)
Sets the coEdited.
|
void |
setDownload(Boolean download)
Sets the download.
|
void |
setKey(String key)
Sets the key.
|
void |
setUserId(String userId)
Sets the user id.
|
String |
toJSON()
Return this config as JSON string.
|
protected String userId
protected String key
protected Boolean download
protected Boolean coEdited
public Userdata(String userId, String key, Boolean download, Boolean coEdited)
userId - the user idkey - the keydownload - the downloadcoEdited - the co editedpublic Userdata()
public String getUserId()
public void setUserId(String userId)
userId - the new user idpublic String getKey()
public void setKey(String key)
key - the new keypublic Boolean getDownload()
public void setDownload(Boolean download)
download - the new downloadpublic Boolean getCoEdited()
public void setCoEdited(Boolean coEdited)
coEdited - the coEditedpublic String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
org.exoplatform.ws.frameworks.json.impl.JsonException - the json exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.