public class ContentViewerRESTService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
ContentViewerRESTService(org.exoplatform.web.WebAppController webAppController,
org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cms.link.LinkManager linkManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String repoName,
String workspaceName,
String uuid)
Returns a pdf file for a PDF document.
|
String |
getTemplate(javax.jcr.Node contentNode) |
void |
processRender(String template,
org.exoplatform.webui.core.UIComponent uiComponent,
Writer writer) |
public javax.ws.rs.core.Response getContent(@Context
javax.servlet.http.HttpServletRequest request,
@Context
javax.servlet.http.HttpServletResponse response,
String repoName,
String workspaceName,
String uuid)
throws Exception
repoName - The repository name.workspaceName - The workspace name.uuid - The identifier of the document.Exception - The exceptionpublic String getTemplate(javax.jcr.Node contentNode)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.