public class DocumentStatus extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentStatus.Builder
The Class Builder.
|
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
coEdited
The coedited.
|
protected String |
comment
The comment (used for saving a version of a document with comment on FileActivity)
|
protected Config |
config
The config.
|
protected long |
error
The error.
|
protected Boolean |
forceSaved
The forcesaved (true if a document is forcesaved via Editor bar)
|
protected String |
key
The key.
|
protected Boolean |
saved
The saved
|
protected Long |
status
The status.
|
protected String |
url
The url.
|
protected String |
userId
The userId (used for saving the document content under this user)
|
protected String[] |
users
The users.
|
| Constructor and Description |
|---|
DocumentStatus() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComment()
Gets the comment.
|
Config |
getConfig()
Gets the config.
|
long |
getError()
Gets the error.
|
String |
getKey()
Gets the key.
|
protected String |
getLastUser()
Gets the last user (editor).
|
protected Long |
getStatus()
Gets the status returned by Onlyoffice Document Server.
|
protected String |
getUrl()
Gets the url.
|
String |
getUserId()
Gets the userId.
|
protected String[] |
getUsers()
Gets the users.
|
Boolean |
isCoedited()
Gets the coEdited.
|
Boolean |
isForcesaved()
Gets the forcesaved.
|
Boolean |
isSaved()
Gets the isSaved.
|
protected void |
setConfig(Config config)
Sets the config.
|
protected String |
toJSON()
Return this config as JSON string.
|
protected String key
protected Long status
protected String url
protected String[] users
protected Config config
protected long error
protected Boolean coEdited
protected Boolean forceSaved
protected Boolean saved
protected String userId
protected String comment
public Config getConfig()
public long getError()
public String getKey()
protected void setConfig(Config config)
config - the new configprotected Long getStatus()
protected String getUrl()
protected String[] getUsers()
protected String getLastUser()
public Boolean isCoedited()
public Boolean isForcesaved()
public Boolean isSaved()
public String getUserId()
public String getComment()
protected 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.