@Service @Provides(value=WordTemplateService.class) public class WordTemplateService extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WordTemplateService.OutputFormat |
| Constructor and Description |
|---|
WordTemplateService() |
| Modifier and Type | Method and Description |
|---|---|
DocumentInfo |
generateAndAttach(WordTemplateForm config) |
String |
generateDocumentUUID(WordTemplateForm config) |
void |
generateForActivity(File output,
String templateName,
String processId,
String activityId,
Map<String,Object> mappings,
WordTemplateService.OutputFormat format) |
void |
generateForActivity(File output,
String templateName,
String processId,
String activityId,
WordTemplateService.OutputFormat format) |
void |
generateForProcess(File output,
String templateName,
String processId,
Map<String,Object> mappings,
WordTemplateService.OutputFormat format) |
void |
generateForProcess(File output,
String templateName,
String processId,
WordTemplateService.OutputFormat format) |
InputStream |
getTemporaryDocument(String uuid) |
public void generateForProcess(File output, String templateName, String processId, WordTemplateService.OutputFormat format)
public void generateForProcess(File output, String templateName, String processId, Map<String,Object> mappings, WordTemplateService.OutputFormat format)
public void generateForActivity(File output, String templateName, String processId, String activityId, WordTemplateService.OutputFormat format)
public void generateForActivity(File output, String templateName, String processId, String activityId, Map<String,Object> mappings, WordTemplateService.OutputFormat format)
public DocumentInfo generateAndAttach(WordTemplateForm config) throws Exception
Exceptionpublic String generateDocumentUUID(WordTemplateForm config) throws IOException
IOExceptionpublic InputStream getTemporaryDocument(String uuid) throws IOException
IOExceptionCopyright © 2019 Suncode. All rights reserved.