public class Userdata extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
coEdited
The co edited.
|
protected String |
comment
The comment.
|
protected Boolean |
download
The download.
|
protected Boolean |
forcesaved
The forcesaved
|
protected String |
userId
The user id.
|
| Constructor and Description |
|---|
Userdata()
Instantiates a new userdata.
|
Userdata(String userId,
Boolean download,
Boolean coEdited,
Boolean forcesaved,
String comment)
Instantiates a new userdata.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getCoEdited()
Gets the co edited.
|
String |
getComment()
Gets the comment.
|
String |
getUserId()
Gets the user id.
|
Boolean |
isDownload()
Gets the download.
|
Boolean |
isForcesaved()
Gets the forcesaved.
|
void |
setCoEdited(Boolean coEdited)
Sets the co edited.
|
void |
setComment(String comment)
Sets the comment.
|
void |
setDownload(Boolean download)
Sets the download.
|
void |
setForcesaved(Boolean forcesaved)
Sets the forcesaved.
|
void |
setUserId(String userId)
Sets the user id.
|
String |
toJSON()
Return this config as JSON string.
|
protected String userId
protected Boolean download
protected Boolean coEdited
protected Boolean forcesaved
protected String comment
public Userdata(String userId, Boolean download, Boolean coEdited, Boolean forcesaved, String comment)
userId - the user iddownload - the downloadcoEdited - the co editedforcesaved - the forcesavedcomment - the commentpublic Userdata()
public String getUserId()
public void setUserId(String userId)
userId - the new user idpublic Boolean isDownload()
public void setDownload(Boolean download)
download - the new downloadpublic Boolean getCoEdited()
public void setCoEdited(Boolean coEdited)
coEdited - the new co editedpublic Boolean isForcesaved()
public void setForcesaved(Boolean forcesaved)
forcesaved - the forcesavedpublic String getComment()
public void setComment(String comment)
comment - the new commentpublic String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
org.exoplatform.ws.frameworks.json.impl.JsonException - the json exceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.