public class EditorConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EditorConfig.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected AccessToken |
accessToken
The access token.
|
protected String |
baseUrl
The base url.
|
protected String |
fileId
The file id.
|
protected List<Permissions> |
permissions
The permissions.
|
protected String |
userId
The user id.
|
protected String |
workspace
The workspace.
|
| Constructor and Description |
|---|
EditorConfig(String userId,
String fileId,
String workspace,
String baseUrl,
List<Permissions> permissions,
AccessToken accessToken)
Instantiates a new editor config.
|
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
getAccessToken()
Gets the access token.
|
String |
getBaseUrl()
Gets the base url.
|
String |
getFileId()
Gets the file id.
|
protected List<Permissions> |
getPermissions()
Gets the permissions.
|
String |
getUserId()
Gets the user id.
|
String |
getWorkspace()
Gets the workspace.
|
protected final AccessToken accessToken
protected final String userId
protected final String fileId
protected final String workspace
protected final String baseUrl
protected final List<Permissions> permissions
public EditorConfig(String userId, String fileId, String workspace, String baseUrl, List<Permissions> permissions, AccessToken accessToken)
userId - the user idfileId - the file idworkspace - the workspacebaseUrl - the platform urlpermissions - the permissionsaccessToken - the access tokenpublic String getUserId()
public String getFileId()
protected List<Permissions> getPermissions()
public AccessToken getAccessToken()
public String getWorkspace()
public String getBaseUrl()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.