@Service @Transactional public class AppDefinitionExportService extends BaseAppDefinitionService
| Modifier and Type | Field and Description |
|---|---|
protected BpmnJsonConverter |
bpmnJsonConverter |
bpmnXMLConverter, channelJsonConverter, cmmnJsonConverter, cmmnXMLConverter, dmnJsonConverter, dmnXMLConverter, eventJsonConverter, modelRepository, modelService, objectMapper| Constructor and Description |
|---|
AppDefinitionExportService() |
| Modifier and Type | Method and Description |
|---|---|
void |
createAppDefinitionBar(javax.servlet.http.HttpServletResponse response,
Model appModel,
AppDefinitionRepresentation appDefinition) |
protected AppDefinitionRepresentation |
createAppDefinitionRepresentation(AbstractModel model) |
protected void |
createAppDefinitionZip(javax.servlet.http.HttpServletResponse response,
Model appModel,
AppDefinitionRepresentation appDefinition) |
protected void |
createBpmnZipEntries(Collection<Model> models,
ZipOutputStream zipOutputStream,
ConverterContext converterContext) |
protected void |
createBpmnZipEntries(List<AppModelDefinition> modelDefinitions,
ZipOutputStream zipOutputStream,
ConverterContext converterContext) |
protected void |
createCmmnZipEntries(Collection<Model> models,
ZipOutputStream zipOutputStream,
ConverterContext converterContext) |
protected void |
createCmmnZipEntries(List<AppModelDefinition> modelDefinitions,
ZipOutputStream zipOutputStream,
ConverterContext converterContext) |
protected void |
createDecisionServiceZipEntries(Collection<Model> decisionServiceModels,
ConverterContext converterContext,
ZipOutputStream zipOutputStream) |
protected void |
createDecisionTableZipEntries(Collection<Model> decisionTableModels,
ConverterContext converterContext,
ZipOutputStream zipOutputStream) |
protected String |
createModelEntryJson(Model model) |
protected void |
createZipEntries(Model model,
String directoryName,
ZipOutputStream zipOutputStream) |
protected void |
createZipEntry(ZipOutputStream zipOutputStream,
String filename,
byte[] content) |
protected void |
createZipEntry(ZipOutputStream zipOutputStream,
String filename,
String content) |
void |
exportAppDefinition(javax.servlet.http.HttpServletResponse response,
String modelId) |
void |
exportDeployableAppDefinition(javax.servlet.http.HttpServletResponse response,
String modelId) |
createDeployableAppModels, createDeployableModels, createDeployableZipArtifact, createDeployZipArtifact, getAppDefinitionJson, postProcessFlowElements, postProcessFlowElements, postProcessPlanItemDefinitions, postProcessPlanItemDefinitions, processUserTasks, resolveAppDefinitionprotected BpmnJsonConverter bpmnJsonConverter
public void exportAppDefinition(javax.servlet.http.HttpServletResponse response,
String modelId)
throws IOException
IOExceptionpublic void exportDeployableAppDefinition(javax.servlet.http.HttpServletResponse response,
String modelId)
throws IOException
IOExceptionprotected void createAppDefinitionZip(javax.servlet.http.HttpServletResponse response,
Model appModel,
AppDefinitionRepresentation appDefinition)
protected void createDecisionTableZipEntries(Collection<Model> decisionTableModels, ConverterContext converterContext, ZipOutputStream zipOutputStream) throws Exception
Exceptionprotected void createDecisionServiceZipEntries(Collection<Model> decisionServiceModels, ConverterContext converterContext, ZipOutputStream zipOutputStream) throws Exception
Exceptionpublic void createAppDefinitionBar(javax.servlet.http.HttpServletResponse response,
Model appModel,
AppDefinitionRepresentation appDefinition)
protected void createBpmnZipEntries(List<AppModelDefinition> modelDefinitions, ZipOutputStream zipOutputStream, ConverterContext converterContext) throws Exception
Exceptionprotected void createBpmnZipEntries(Collection<Model> models, ZipOutputStream zipOutputStream, ConverterContext converterContext) throws Exception
Exceptionprotected void createCmmnZipEntries(List<AppModelDefinition> modelDefinitions, ZipOutputStream zipOutputStream, ConverterContext converterContext) throws Exception
Exceptionprotected void createCmmnZipEntries(Collection<Model> models, ZipOutputStream zipOutputStream, ConverterContext converterContext) throws Exception
Exceptionprotected void createZipEntries(Model model, String directoryName, ZipOutputStream zipOutputStream) throws Exception
Exceptionprotected AppDefinitionRepresentation createAppDefinitionRepresentation(AbstractModel model)
protected void createZipEntry(ZipOutputStream zipOutputStream, String filename, String content) throws Exception
Exceptionprotected void createZipEntry(ZipOutputStream zipOutputStream, String filename, byte[] content) throws Exception
ExceptionCopyright © 2021 Flowable. All rights reserved.