public interface ModelerDashboardManager
Manager interface for Modeler Dashboard REST services.
Modifier and Type | Method and Description |
---|---|
void |
activate(String modelId,
String comment)
Activates a given model.
|
String |
archive(String appModelId)
Archives given application model and all its children.
|
FrontendObject |
createApp(FrontendObject frontendObject,
String comment)
Creates a new App from the given frontend object.
|
FrontendObject |
createModel(FrontendObject frontendObject,
String comment)
Creates a new model from the given frontend object.
|
void |
deactivate(String modelId,
String comment)
Deactivates a given model.
|
String |
deployApp(FrontendObject frontendObject,
String comment,
Locale locale)
Deploys the given App model.
|
FrontendObject |
duplicate(String modelId,
String name,
String comment)
Creates a duplicate of the given model work object template.
|
List<DataModelVariableInfo> |
getAppDataModel(String appModelId)
Returns the data model for the given App model.
|
List<Language> |
getAppLanguages(String appModelId)
Returns the configured languages for the given App model.
|
FrontendObject |
getModelByKey(String type,
String key)
Returns the model corresponding to the given key.
|
String |
migrate(String modelId,
String comment)
Migrates existing work objects to the latest deployed model.
|
FrontendObject |
save(FrontendObject frontendObject,
String comment)
Saves changes to the given model work object.
|
FrontendObject |
saveApp(FrontendObject frontendObject,
String comment)
Saves changes to the given App model work object.
|
FrontendObject |
saveMailModel(FrontendObject frontendObject,
String comment)
Saves changes to the given mail model work object.
|
void |
updateAppDataModel(String appModelId,
String modelData)
Update App data model on the App model.
|
FrontendObject createApp(FrontendObject frontendObject, String comment) throws Exception
Creates a new App from the given frontend object.
frontendObject
- the frontend objectcomment
- the change commentException
- if the App could not be createdFrontendObject createModel(FrontendObject frontendObject, String comment) throws Exception
Creates a new model from the given frontend object.
frontendObject
- the frontend objectcomment
- the change commentException
- if the model could not be createdFrontendObject getModelByKey(String type, String key)
Returns the model corresponding to the given key.
type
- the expected model typekey
- the model keyFrontendObject duplicate(String modelId, String name, String comment) throws Exception
Creates a duplicate of the given model work object template.
modelId
- the ID of the model work object to be duplicatedname
- the name of the new duplicatecomment
- the change commentException
- if the duplicate could not be createdString migrate(String modelId, String comment) throws Exception
Migrates existing work objects to the latest deployed model.
modelId
- the model IDcomment
- the change commentException
- if the work objects could not be migratedvoid activate(String modelId, String comment)
Activates a given model.
modelId
- the ID of the model to be activatedcomment
- the change commentvoid deactivate(String modelId, String comment)
Deactivates a given model.
modelId
- the ID of the model to be deactivatedcomment
- the change commentString deployApp(FrontendObject frontendObject, String comment, Locale locale) throws Exception
Deploys the given App model.
frontendObject
- the frontend object for the deploymentcomment
- the change commentlocale
- the locale to be used for message translationException
- if the App model could not be deployedFrontendObject save(FrontendObject frontendObject, String comment) throws Exception
Saves changes to the given model work object.
frontendObject
- the frontend objectcomment
- the change commentException
- if the changes could not be savedFrontendObject saveMailModel(FrontendObject frontendObject, String comment) throws Exception
Saves changes to the given mail model work object.
frontendObject
- the frontend objectcomment
- the change commentException
- if the changes could not be savedFrontendObject saveApp(FrontendObject frontendObject, String comment) throws Exception
Saves changes to the given App model work object.
frontendObject
- the frontend objectcomment
- the change commentException
- if the changes could not be savedList<DataModelVariableInfo> getAppDataModel(String appModelId)
Returns the data model for the given App model.
appModelId
- the App model IDvoid updateAppDataModel(String appModelId, String modelData)
Update App data model on the App model.
appModelId
- the App model IDmodelData
- the Model DataList<Language> getAppLanguages(String appModelId)
Returns the configured languages for the given App model.
appModelId
- the App model IDCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.