Package org.exoplatform.onlyoffice
Class Userdata
- java.lang.Object
-
- org.exoplatform.onlyoffice.Userdata
-
public class Userdata extends Object
The Class Userdata.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetCoEdited()Gets the co edited.StringgetComment()Gets the comment.StringgetUserId()Gets the user id.BooleanisDownload()Gets the download.BooleanisForcesaved()Gets the forcesaved.voidsetCoEdited(Boolean coEdited)Sets the co edited.voidsetComment(String comment)Sets the comment.voidsetDownload(Boolean download)Sets the download.voidsetForcesaved(Boolean forcesaved)Sets the forcesaved.voidsetUserId(String userId)Sets the user id.StringtoJSON()Return this config as JSON string.
-
-
-
Constructor Detail
-
Userdata
public Userdata(String userId, Boolean download, Boolean coEdited, Boolean forcesaved, String comment)
Instantiates a new userdata.- Parameters:
userId- the user iddownload- the downloadcoEdited- the co editedforcesaved- the forcesavedcomment- the comment
-
Userdata
public Userdata()
Instantiates a new userdata.
-
-
Method Detail
-
getUserId
public String getUserId()
Gets the user id.- Returns:
- the user id
-
setUserId
public void setUserId(String userId)
Sets the user id.- Parameters:
userId- the new user id
-
isDownload
public Boolean isDownload()
Gets the download.- Returns:
- the download
-
setDownload
public void setDownload(Boolean download)
Sets the download.- Parameters:
download- the new download
-
getCoEdited
public Boolean getCoEdited()
Gets the co edited.- Returns:
- the co edited
-
setCoEdited
public void setCoEdited(Boolean coEdited)
Sets the co edited.- Parameters:
coEdited- the new co edited
-
isForcesaved
public Boolean isForcesaved()
Gets the forcesaved.- Returns:
- the forcesaved
-
setForcesaved
public void setForcesaved(Boolean forcesaved)
Sets the forcesaved.- Parameters:
forcesaved- the forcesaved
-
getComment
public String getComment()
Gets the comment.- Returns:
- the comment
-
setComment
public void setComment(String comment)
Sets the comment.- Parameters:
comment- the new comment
-
toJSON
public String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
Return this config as JSON string.- Returns:
- the string
- Throws:
org.exoplatform.ws.frameworks.json.impl.JsonException- the json exception
-
-