public class LayoutResource extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
category |
static String |
DEFAULT_CONVERSION_CATEGORY |
static String |
DEFAULT_DOCUMENT_LAYOUT_MODE |
static String |
DEFAULT_LANGUAGE |
protected List<String> |
registeredLayoutNames |
protected LayoutStore |
service |
Constructor and Description |
---|
LayoutResource(String category) |
Modifier and Type | Method and Description |
---|---|
Object |
doGet(String layoutName,
javax.ws.rs.core.UriInfo uriInfo) |
String |
getAsJson(String layoutName,
String lang,
String conversionCategory) |
String |
getLayoutsForTypeAsJson(String docType,
String mode,
String lang,
String conversionCategory) |
protected TemplateView |
getTemplate(String name,
javax.ws.rs.core.UriInfo uriInfo) |
public static final String DEFAULT_DOCUMENT_LAYOUT_MODE
public static final String DEFAULT_CONVERSION_CATEGORY
public static final String DEFAULT_LANGUAGE
protected LayoutStore service
protected List<String> registeredLayoutNames
public LayoutResource(String category)
protected TemplateView getTemplate(String name, javax.ws.rs.core.UriInfo uriInfo)
public String getAsJson(String layoutName, String lang, String conversionCategory) throws IOException
IOException
public String getLayoutsForTypeAsJson(String docType, String mode, String lang, String conversionCategory) throws IOException
IOException
Copyright © 2018 Nuxeo. All rights reserved.