public class DefaultDocumentGenerationService extends java.lang.Object implements DocumentGenerationService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DOCUMENT_BODY_ENCODING |
| Constructor and Description |
|---|
DefaultDocumentGenerationService() |
public static final java.lang.String DOCUMENT_BODY_ENCODING
public MediaModel generate(java.lang.String frontendTemplateName, BusinessProcessModel businessProcessModel)
DocumentGenerationServiceMediaModel from given business process and document pagegenerate in interface DocumentGenerationServicefrontendTemplateName - the code of the template to use for script generationbusinessProcessModel - Business process objectMediaModelprotected MediaModel createMedia(java.lang.String documentMediaName, java.lang.String documentBody, BusinessProcessModel businessProcessModel)
documentBody - - content of documentprotected MediaFolderModel getDocumentMediaFolder()
MediaFolderModel to save the generated MediaMediaFolderModelprotected ModelService getModelService()
public void setModelService(ModelService modelService)
protected RendererService getRendererService()
public void setRendererService(RendererService rendererService)
protected MediaService getMediaService()
public void setMediaService(MediaService mediaService)
protected DocumentContextFactory<BusinessProcessModel> getDocumentContextFactory()
public void setDocumentContextFactory(DocumentContextFactory<BusinessProcessModel> documentContextFactory)
protected DocumentPageService getDocumentPageService()
public void setDocumentPageService(DocumentPageService documentPageService)
protected CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public void setDocumentMediaFolderName(java.lang.String documentMediaFolderName)
protected java.lang.String getDocumentMediaFolderName()
protected GuidKeyGenerator getGuidKeyGenerator()
public void setGuidKeyGenerator(GuidKeyGenerator guidKeyGenerator)
protected DocumentCatalogFetchStrategy getDocumentCatalogFetchStrategy()
public void setDocumentCatalogFetchStrategy(DocumentCatalogFetchStrategy documentCatalogFetchStrategy)
public void setMimeType(java.lang.String mimeType)
protected java.lang.String getMimeType()
Copyright © 2018 SAP SE. All Rights Reserved.