public interface AppImportExportManager
Exposes API to import/export Apps, Process models and App’s Translations.
Modifier and Type | Method and Description |
---|---|
void |
exportApp(String appGlobalId,
javax.servlet.http.HttpServletResponse response)
Export App.
|
void |
exportTranslation(String appAmbiguousId,
String format,
javax.servlet.http.HttpServletResponse response)
Export translations used in form, process and case models of an App.
|
Object |
getAppGraphOverview(String ambiguousId)
Get AppGraph overview representation of the App.
|
void |
importApp(String ambiguousId,
String actionComment,
boolean importAsDuplicate)
Import an App.
|
void |
importAppTranslation(String appGlobalId,
String actionComment)
Import App translations.
|
void |
importProcess(String appAmbigousId,
boolean validate,
String actionComment)
Import process(es) from an uploaded BPMN 2.0 XML file.
|
UploadResponse |
uploadImportContent(String appAmbiguousId,
org.springframework.web.multipart.MultipartHttpServletRequest request)
Upload imported content for an App.
|
UploadResponse uploadImportContent(String appAmbiguousId, org.springframework.web.multipart.MultipartHttpServletRequest request) throws IOException
Upload imported content for an App.
appAmbiguousId
- the ID of the app (either work object ID value or global ID value)request
- Multipart requestIOException
- if the content could not be uploadedvoid importApp(String ambiguousId, String actionComment, boolean importAsDuplicate) throws InterruptedException, IOException
Import an App.
ambiguousId
- the ID of the app (either work object ID value or global ID value)actionComment
- comment to add to the actionimportAsDuplicate
- flag indicating if the App be imported as duplicateInterruptedException
- if the import was interruptedIOException
- if the App file could not be processedvoid importProcess(String appAmbigousId, boolean validate, String actionComment) throws InterruptedException
Import process(es) from an uploaded BPMN 2.0 XML file.
appAmbigousId
- the ID of the app (either work object ID value or global ID value)validate
- flag indicating whether the process BPMN xml should be validated before importing.actionComment
- comment to add to the actionInterruptedException
- if the import was interruptedvoid importAppTranslation(String appGlobalId, String actionComment) throws InterruptedException
Import App translations.
appGlobalId
- global ID of the App.actionComment
- comment to add to the actionInterruptedException
- if the import was interruptedvoid exportApp(String appGlobalId, javax.servlet.http.HttpServletResponse response)
Export App.
appGlobalId
- global ID of the App.response
- HttpServletResponsevoid exportTranslation(String appAmbiguousId, String format, javax.servlet.http.HttpServletResponse response)
Export translations used in form, process and case models of an App.
appAmbiguousId
- the ID of the app (either work object ID value or global ID value)format
- format of the file in which the translations are exported.response
- HttpServletResponseCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.