public static class EditorPortlet.InitConfig extends Object
| Constructor and Description |
|---|
InitConfig(String fileId,
String workspace,
org.exoplatform.officeonline.AccessToken accessToken,
String actionURL,
String versionsURL,
String filename)
Instantiates a new inits the config.
|
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.officeonline.AccessToken |
getAccessToken()
Gets the access token.
|
String |
getActionURL()
Gets the action URL.
|
String |
getFileId()
Gets the file id.
|
String |
getFilename()
Gets the filename.
|
String |
getVersionsURL()
Gets the versions URL.
|
String |
getWorkspace()
Gets the workspace.
|
String |
toJSON()
Return this config as JSON string.
|
public InitConfig(String fileId, String workspace, org.exoplatform.officeonline.AccessToken accessToken, String actionURL, String versionsURL, String filename)
fileId - the file idworkspace - the workspaceaccessToken - the access tokenactionURL - the action URLversionsURL - the versions URLfilename - the filenamepublic String getFileId()
public String getWorkspace()
public org.exoplatform.officeonline.AccessToken getAccessToken()
public String getActionURL()
public String getVersionsURL()
public String getFilename()
public String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
org.exoplatform.ws.frameworks.json.impl.JsonException - the json exceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.