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 Config |
config
The config.
|
protected long |
error
The error.
|
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 |
|---|---|
Config |
getConfig()
Gets the config.
|
long |
getError()
Gets the error.
|
String |
getKey()
Gets the key.
|
String |
getLastUser()
Gets the last user (editor).
|
protected Long |
getStatus()
Gets the status returned by Onlyoffice Document Server.
|
protected String |
getUrl()
Gets the url.
|
protected String |
getUserId()
Gets the userId.
|
protected String[] |
getUsers()
Gets the users.
|
protected Boolean |
isCoedited()
Gets the coEdited.
|
protected Boolean |
isSaved()
Gets the isSaved.
|
protected void |
setConfig(Config config)
Sets the config.
|
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 saved
protected String userId
public Config getConfig()
public long getError()
public String getLastUser()
public String getKey()
protected void setConfig(Config config)
config - the new configprotected Long getStatus()
protected String getUrl()
protected String[] getUsers()
protected Boolean isCoedited()
protected Boolean isSaved()
protected String getUserId()
public 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.