public interface IDocumentationTemplate
Modifier and Type | Interface and Description |
---|---|
static class |
IDocumentationTemplate.DocumentationSection
Identifies a block of documentation.
|
static class |
IDocumentationTemplate.DocumentationSectionEntry
A documentation section entry.
|
Modifier and Type | Method and Description |
---|---|
IDocumentationTemplate.DocumentationSection |
addDocumentationSection(String sectionId,
boolean isServiceSection,
Map<String,String> properties)
Adds a new section to the documentation.
|
void |
addServiceImage(String filePath,
String legend)
Used to notify the template that the given image should be viewed in the list of images of the service.
|
void |
copyStaticFiles(String rootPath)
copies static files from the given path to the destination documentation directory.
|
boolean |
doesFileExist(String filePath)
Returns true if the file exists in the documentation directory.
|
void |
endServiceAndInterfacesDocumentation(String serviceId)
Identifies that service and interface documentation generation is complete.
|
void |
endServiceDocumentation(String serviceId)
Notifies the template that documentation of a new service ended.
|
void |
endServiceInterfaceDocumentation(String serviceInterfaceId)
Notifies that the documentation generation of service interface is complete.
|
void |
endServiceInterfacesDocumentation(String serviceId)
Notifies the template that documentation of service interfaces has ended.
|
IDocumentationTemplate.DocumentationSection |
getDocumentationSection(String sectionId,
boolean isServiceSection) |
void |
saveFile(InputStream stream,
String filePath)
Notifies the template that a new file was generated and should be saved in the given path within the documentation directory.
|
void |
setServiceDetailedDescription(String serviceDetailedDescription)
HTML description of the service.
|
void |
setServiceImage(String serviceImage)
Notifies the path to the service image and may be used for rendering documentation.
|
void |
setServiceInterfaceDetailedDescription(String documentationGetServiceDetailedDescription)
Detailed description is assumed to be HTML format.
|
void |
setServiceInterfaceName(String documentationGetServiceInterfaceName) |
void |
setServiceInterfaceSummary(String documentationGetServiceInterfaceSummary)
Summary is assumed to be simple text and not HTML.
|
void |
setServiceName(String serviceName)
Identifies the service name that may be used for generation.
|
void |
setServiceSummary(String serviceSummary)
Specifies the service summary to be displayed appropriately.
|
void |
startServiceAndInterfacesDocumentation(String serviceId)
Notifies the template that documentation of a new service and its interfaces has started.
|
void |
startServiceDocumentation(String serviceId)
Notifies the template that documentation of a new service started.
|
void |
startServiceInterfaceDocumentation(String serviceInterfaceId)
Notifies that the documentation generation of service interface is starting.
|
void |
startServiceInterfacesDocumentation(String serviceId)
Notifies the template that documentation of service interfaces has started.
|
void copyStaticFiles(String rootPath) throws PortalException
rootPath
- origin path.PortalException
void startServiceAndInterfacesDocumentation(String serviceId) throws PortalException
serviceId
- PortalException
void startServiceDocumentation(String serviceId) throws PortalException
serviceId
- transaction
- PortalException
void endServiceDocumentation(String serviceId) throws PortalException
serviceId
- transaction
- PortalException
void setServiceName(String serviceName) throws PortalException
serviceName
- PortalException
void setServiceSummary(String serviceSummary) throws PortalException
serviceSummary
- PortalException
void setServiceDetailedDescription(String serviceDetailedDescription) throws PortalException
serviceDetailedDescription
- PortalException
void startServiceInterfacesDocumentation(String serviceId) throws PortalException
serviceId
- transaction
- PortalException
void endServiceInterfacesDocumentation(String serviceId) throws PortalException
serviceId
- transaction
- PortalException
void endServiceAndInterfacesDocumentation(String serviceId) throws PortalException
serviceId
- transaction
- PortalException
void setServiceInterfaceName(String documentationGetServiceInterfaceName) throws PortalException
PortalException
void setServiceInterfaceSummary(String documentationGetServiceInterfaceSummary) throws PortalException
documentationGetServiceInterfaceSummary
- PortalException
void setServiceInterfaceDetailedDescription(String documentationGetServiceDetailedDescription) throws PortalException
documentationGetServiceDetailedDescription
- PortalException
void startServiceInterfaceDocumentation(String serviceInterfaceId) throws PortalException
serviceInterfaceId
- transaction
- PortalException
void endServiceInterfaceDocumentation(String serviceInterfaceId) throws PortalException
serviceInterfaceId
- transaction
- PortalException
void saveFile(InputStream stream, String filePath) throws PortalException
stream
- input stream to the new file.filePath
- the destination path where the file should be saved in the documentation directory.PortalException
void setServiceImage(String serviceImage) throws PortalException
serviceImage
- PortalException
void addServiceImage(String filePath, String legend) throws PortalException
filePath
- relative path to the image.legend
- text that should be used to label the image.PortalException
IDocumentationTemplate.DocumentationSection addDocumentationSection(String sectionId, boolean isServiceSection, Map<String,String> properties) throws PortalException
sectionId
- identifier for the section.isServiceSection
- identifies if is a service section.properties
- proprties of the section that will be made available to the xls for rendering.PortalException
IDocumentationTemplate.DocumentationSection getDocumentationSection(String sectionId, boolean isServiceSection) throws PortalException
PortalException
boolean doesFileExist(String filePath) throws PortalException
filePath
- PortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.