public class WordTemplateUtil extends Object
| Constructor and Description |
|---|
WordTemplateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static WfDocument |
archiveAndAttachToProcess(File document,
String processId,
String activityId,
String documentClass,
String template,
WordTemplateService.OutputFormat format,
boolean attachToProcess,
boolean saveAsNewVersion) |
static WfDocument |
archiveAndAttachToProcess(File document,
String processId,
String activityId,
String documentClass,
String template,
WordTemplateService.OutputFormat format,
boolean attachToProcess,
boolean saveAsNewVersion,
String customFileName) |
static WfDocument |
archiveAndAttachToProcess(File document,
String processId,
String activityId,
String documentClass,
String template,
WordTemplateService.OutputFormat format,
boolean attachToProcess,
boolean saveAsNewVersion,
String customFileName,
String fileDescription,
Map<Long,Object> indexes) |
static WfDocument |
attachToProcess(File f,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion) |
static WfDocument |
attachToProcess(File file,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion,
String customFileName) |
static WfDocument |
attachToProcess(File file,
String process,
String activity,
String template,
String docClass,
WordTemplateService.OutputFormat format,
boolean saveAsNewVersion,
String customFileName,
String fileDescription,
Map<Long,Object> indexes) |
static String |
getFileName(String processId,
String template,
WordTemplateService.OutputFormat format) |
public static WfDocument archiveAndAttachToProcess(File document, String processId, String activityId, String documentClass, String template, WordTemplateService.OutputFormat format, boolean attachToProcess, boolean saveAsNewVersion) throws Exception
Exceptionpublic static WfDocument attachToProcess(File f, String process, String activity, String template, String docClass, WordTemplateService.OutputFormat format, boolean saveAsNewVersion) throws Exception
Exceptionpublic static WfDocument archiveAndAttachToProcess(File document, String processId, String activityId, String documentClass, String template, WordTemplateService.OutputFormat format, boolean attachToProcess, boolean saveAsNewVersion, String customFileName) throws Exception
Exceptionpublic static WfDocument archiveAndAttachToProcess(File document, String processId, String activityId, String documentClass, String template, WordTemplateService.OutputFormat format, boolean attachToProcess, boolean saveAsNewVersion, String customFileName, String fileDescription, Map<Long,Object> indexes) throws Exception
Exceptionpublic static WfDocument attachToProcess(File file, String process, String activity, String template, String docClass, WordTemplateService.OutputFormat format, boolean saveAsNewVersion, String customFileName) throws Exception
Exceptionpublic static WfDocument attachToProcess(File file, String process, String activity, String template, String docClass, WordTemplateService.OutputFormat format, boolean saveAsNewVersion, String customFileName, String fileDescription, Map<Long,Object> indexes) throws Exception
Exceptionpublic static String getFileName(String processId, String template, WordTemplateService.OutputFormat format)
Copyright © 2023 Suncode. All rights reserved.