public class DouiDocumentationUtil extends Object
Constructor and Description |
---|
DouiDocumentationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
documentationSetTemplateSectionFields(ServiceInterfaceConfig serviceInterfaceConfig,
IResource resource,
Locale locale,
Node sourceNode,
IDocumentationTemplate.DocumentationSection dataSection)
Given a documentation source section, adds entries for each visible field.
|
static IDocumentationTemplate.DocumentationSection |
renderSource(Node sourceNode,
String parentId,
IResource resource,
Locale locale,
IDocumentationTemplate template)
Given a source node this method adds a new documentation section to the template related to the source.
|
public static IDocumentationTemplate.DocumentationSection renderSource(Node sourceNode, String parentId, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
sourceNode
- the source node for which documentation should be rendered.resource
- used to translate strings.locale
- the locale in which the documentation should be generated.template
- the template object responsible for actual rendering of html.PortalException
public static void documentationSetTemplateSectionFields(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, Node sourceNode, IDocumentationTemplate.DocumentationSection dataSection) throws PortalException
serviceInterfaceConfig
- the interface for which fields are being generatedresource
- used to translate strings.locale
- the locale in which the documentation should be generated.sourceNode
- the source node for which field documentation should be rendered.dataSection
- the data section of a source for which fields will be added.PortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.