public class EditorResource extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
protected EditorService |
editorService
The editor service.
|
protected WOPIService |
wopiService
The wopi service.
|
| Constructor and Description |
|---|
EditorResource(EditorService editorService,
WOPIService wopiService)
Instantiates a new editor resource.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
content(javax.ws.rs.core.UriInfo uriInfo,
javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context,
String fileId)
Content.
|
javax.ws.rs.core.Response |
isVersionAccumulationEnabled() |
javax.ws.rs.core.Response |
setVersionAccumulation(Boolean enabled) |
protected EditorService editorService
protected WOPIService wopiService
public EditorResource(EditorService editorService, WOPIService wopiService)
editorService - the editor servicewopiService - the wopi servicepublic javax.ws.rs.core.Response content(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.servlet.ServletContext context,
String fileId)
uriInfo - the uri inforequest - the requestcontext - the contextfileId - the file id@RolesAllowed(value="administrators") public javax.ws.rs.core.Response isVersionAccumulationEnabled()
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response setVersionAccumulation(Boolean enabled)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.