Class LayoutResource
java.lang.Object
org.nuxeo.ecm.platform.forms.layout.export.LayoutResource
Exports and presents documentation about layouts definitions
- Since:
- 5.5
- Author:
- Tiry
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
static final String
static final String
static final String
protected LayoutStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLayoutsForTypeAsJson
(String docType, String mode, String lang, String conversionCategory) protected TemplateView
getTemplate
(String name, javax.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
DEFAULT_DOCUMENT_LAYOUT_MODE
- See Also:
-
DEFAULT_CONVERSION_CATEGORY
- See Also:
-
DEFAULT_LANGUAGE
- See Also:
-
category
-
service
-
registeredLayoutNames
-
-
Constructor Details
-
LayoutResource
-
-
Method Details
-
getTemplate
-
doGet
-
getAsJson
public String getAsJson(String layoutName, String lang, String conversionCategory) throws IOException - Throws:
IOException
-
getLayoutsForTypeAsJson
public String getLayoutsForTypeAsJson(String docType, String mode, String lang, String conversionCategory) throws IOException - Throws:
IOException
-