public interface AppImportExportManager
Exposes API to import/export Apps, Process models and App’s Translations.
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,String>> |
appModelDetails(String appGlobalId,
String nameLike)
Get details of the uploaded app filtered by name.
|
void |
exportApp(String appGlobalId,
Collection<String> modelsToExport,
javax.servlet.http.HttpServletResponse response)
Export App.
|
void |
exportDataModel(String appGlobalId,
com.google.common.net.MediaType format,
Locale locale,
javax.servlet.http.HttpServletResponse response)
Export the data model for the given App.
|
void |
exportOverview(String appGlobalId,
com.google.common.net.MediaType format,
Locale locale,
javax.servlet.http.HttpServletResponse response)
Export an overview of all attributes defined within the given App.
|
void |
exportTranslation(String appAmbiguousId,
com.google.common.net.MediaType 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,
Collection<String> modelToImportIds)
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, Collection<String> modelToImportIds) 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 duplicatemodelToImportIds - collection of ids which should be imported. In the case of empty collection all models are importedInterruptedException - 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, Collection<String> modelsToExport, javax.servlet.http.HttpServletResponse response)
Export App.
appGlobalId - global ID of the App.modelsToExport - list of model ids to export in the case when model list is empty all models are exportedresponse - HttpServletResponsevoid exportTranslation(String appAmbiguousId, com.google.common.net.MediaType 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 - HttpServletResponsevoid exportOverview(String appGlobalId, com.google.common.net.MediaType format, Locale locale, javax.servlet.http.HttpServletResponse response)
Export an overview of all attributes defined within the given App.
appGlobalId - the global ID of the appformat - format of the export filelocale - the locale to be used for translatable contentresponse - HttpServletResponsevoid exportDataModel(String appGlobalId, com.google.common.net.MediaType format, Locale locale, javax.servlet.http.HttpServletResponse response)
Export the data model for the given App.
appGlobalId - the global ID of the appformat - format of the export filelocale - the locale to be used for translatable contentresponse - HttpServletResponseObject getAppGraphOverview(String ambiguousId)
Get AppGraph overview representation of the App.
ambiguousId - the ID of the app (either work object ID value or global ID value)List<Map<String,String>> appModelDetails(String appGlobalId, String nameLike) throws InterruptedException
Get details of the uploaded app filtered by name.
appGloba1lId - application globalId to identify uploadnameLike - model name substring to search for ignoring caseWorkObjectDetails matching name like ignore case conditionInterruptedExceptionCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.