public class GenericServiceInterfaceDocumentationGenerator extends Object implements IServiceInterfaceDocumentationGenerator
Modifier and Type | Class and Description |
---|---|
protected static class |
GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage
Object that represents a service image.
|
Modifier and Type | Field and Description |
---|---|
protected IResource |
docResource |
protected boolean |
reGenerateImages |
protected List<GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage> |
serviceInterfaceImages |
Constructor and Description |
---|
GenericServiceInterfaceDocumentationGenerator() |
protected IResource docResource
protected List<GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage> serviceInterfaceImages
protected boolean reGenerateImages
public GenericServiceInterfaceDocumentationGenerator()
public void generateDocumentationForServiceInterface(String interfaceId, IResource docResource, Locale locale, boolean reGenerateImages, IDocumentationTemplate template) throws PortalException
IServiceInterfaceDocumentationGenerator
The HTML documentation should be generated in the root directory provided.
generateDocumentationForServiceInterface
in interface IServiceInterfaceDocumentationGenerator
reGenerateImages
- TODOPortalException
protected String documentationGetServiceInterfaceName(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String documentationGetServiceInterfaceSummary(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String documentationGetServiceInterfaceDescription(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String getDefaultServiceInterfaceDetailedDescription(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws ManagerException, PortalException
ManagerException
PortalException
protected void documentationSetTemplateSections(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String generateDocumentationImagesForServiceInterface(ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected void addToServiceInterfaceImages(String pathToImage)
protected String generateDocumentationImageForServiceInterface(String imageSuffix, ServiceInterfaceConfig serviceInterfaceConfig, IResource resource, Locale locale, IDocumentationTemplate template) throws PortalException, FileNotFoundException, IOException
protected void generateImage(ServiceInterfaceConfig serviceInterfaceConfig, File tempFile, String serviceInstanceId, IDocumentationTemplate template, Locale locale) throws PortalException, IOException, InterruptedException
protected GenericServiceInterfaceDocumentationGenerator.ServiceInterfaceImage createNewServiceInterfaceImageEntry(String pathToImage)
protected void addServiceImageToTemplate(String pathToImage, ServiceInterfaceConfig serviceInterfaceConfig, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String getImageUrl(String filePath, ServiceInterfaceConfig serviceInterfaceConfig, String serviceInstanceId, Locale locale, IDocumentationTemplate template) throws PortalException
PortalException
protected String addServiceInstance(SessionConfig sessionConfig, String serviceId, String name, ITransaction transaction) throws PortalException
PortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.