@RolesAllowed(value="users") public class OpenInOfficeConnector extends Object implements org.exoplatform.services.rest.resource.ResourceContainer, org.picocontainer.Startable
| Constructor and Description |
|---|
OpenInOfficeConnector(NodeFinder nodeFinder,
LinkManager linkManager,
org.exoplatform.services.resources.ResourceBundleService resourceBundleService,
DocumentTypeService documentTypeService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
checkout(javax.ws.rs.core.Request request,
String filePath,
String workspace)
Return a JsonObject's check a version when file has been opened successfully by desktop application
|
javax.ws.rs.core.Response |
createShortcut(javax.servlet.http.HttpServletRequest httpServletRequest,
String linkFilePath,
String filePath,
String workspace)
Return a a input stream internet shortcut to open file with desktop application
|
String[] |
getDocumentInfos(String fileName)
Get Title, css class of document by document's name
|
void |
start() |
void |
stop() |
javax.ws.rs.core.Response |
updateDocumentTitle(javax.ws.rs.core.Request request,
String objId,
String language)
Return a JsonObject's current file to update display titles
|
public OpenInOfficeConnector(NodeFinder nodeFinder, LinkManager linkManager, org.exoplatform.services.resources.ResourceBundleService resourceBundleService, DocumentTypeService documentTypeService)
public javax.ws.rs.core.Response updateDocumentTitle(@Context
javax.ws.rs.core.Request request,
String objId,
String language)
throws Exception
request - objId - Exceptionpublic String[] getDocumentInfos(String fileName)
fileName - public javax.ws.rs.core.Response checkout(@Context
javax.ws.rs.core.Request request,
String filePath,
String workspace)
throws Exception
request - filePath - Exceptionpublic javax.ws.rs.core.Response createShortcut(@Context
javax.servlet.http.HttpServletRequest httpServletRequest,
String linkFilePath,
String filePath,
String workspace)
throws Exception
httpServletRequest - filePath - Exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.StartableCopyright © 2003–2019 eXo Platform SAS. All rights reserved.