Interface ModelService
-
- All Known Implementing Classes:
ModelServiceImpl
public interface ModelService
-
-
Method Summary
-
-
-
Method Detail
-
getModelRepresentation
ModelRepresentation getModelRepresentation(String modelId)
-
getModelsByModelType
List<AbstractModel> getModelsByModelType(Integer modelType)
-
validateModelKey
ModelKeyRepresentation validateModelKey(Model model, Integer modelType, String key)
-
getModelHistory
ModelHistory getModelHistory(String modelId, String modelHistoryId)
-
getBpmnModel
BpmnModel getBpmnModel(AbstractModel model, ConverterContext converterContext)
-
getBpmnXML
byte[] getBpmnXML(BpmnModel bpmnMode)
-
getBpmnXML
byte[] getBpmnXML(AbstractModel model)
-
getBpmnModel
BpmnModel getBpmnModel(AbstractModel model)
-
getCmmnModel
CmmnModel getCmmnModel(AbstractModel model)
-
getCmmnXML
byte[] getCmmnXML(CmmnModel cmmnModel)
-
getCmmnXML
byte[] getCmmnXML(AbstractModel model)
-
getCmmnModel
CmmnModel getCmmnModel(AbstractModel model, ConverterContext converterContext)
-
createModelJson
String createModelJson(ModelRepresentation model)
-
createModel
Model createModel(ModelRepresentation model, String editorJson, String createdBy)
-
saveModel
Model saveModel(Model modelObject, String editorJson, byte[] imageBytes, boolean newVersion, String newVersionComment, String updatedBy)
-
saveModel
Model saveModel(String modelId, String name, String key, String description, String editorJson, boolean newVersion, String newVersionComment, String updatedBy)
-
importNewVersion
ModelRepresentation importNewVersion(String modelId, String fileName, InputStream modelStream)
-
createNewModelVersion
Model createNewModelVersion(Model modelObject, String comment, String updatedBy)
-
createNewModelVersionAndReturnModelHistory
ModelHistory createNewModelVersionAndReturnModelHistory(Model modelObject, String comment, String updatedBy)
-
deleteModel
void deleteModel(String modelId)
-
reviveProcessModelHistory
ReviveModelResultRepresentation reviveProcessModelHistory(ModelHistory modelHistory, String userId, String newVersionComment)
-
-