Package org.exoplatform.onlyoffice
Class Userdata
java.lang.Object
org.exoplatform.onlyoffice.Userdata
The Class Userdata.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the co edited.Gets the comment.Gets the user id.Gets the download.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.voidSets the user id.toJSON()Return this config as JSON string.
-
Field Details
-
userId
The user id. -
download
The download. -
coEdited
The co edited. -
forcesaved
The forcesaved -
comment
The comment.
-
-
Constructor Details
-
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 Details
-
getUserId
Gets the user id.- Returns:
- the user id
-
setUserId
Sets the user id.- Parameters:
userId- the new user id
-
isDownload
Gets the download.- Returns:
- the download
-
setDownload
Sets the download.- Parameters:
download- the new download
-
getCoEdited
Gets the co edited.- Returns:
- the co edited
-
setCoEdited
Sets the co edited.- Parameters:
coEdited- the new co edited
-
isForcesaved
Gets the forcesaved.- Returns:
- the forcesaved
-
setForcesaved
Sets the forcesaved.- Parameters:
forcesaved- the forcesaved
-
getComment
Gets the comment.- Returns:
- the comment
-
setComment
Sets the comment.- Parameters:
comment- the new comment
-
toJSON
Return this config as JSON string.- Returns:
- the string
- Throws:
org.exoplatform.ws.frameworks.json.impl.JsonException- the json exception
-