public interface ModelService
ModelRepresentation getModelRepresentation(String modelId)
List<AbstractModel> getModelsByModelType(Integer modelType)
ModelKeyRepresentation validateModelKey(Model model, Integer modelType, String key)
ModelHistory getModelHistory(String modelId, String modelHistoryId)
BpmnModel getBpmnModel(AbstractModel model, ConverterContext converterContext)
byte[] getBpmnXML(BpmnModel bpmnMode)
byte[] getBpmnXML(AbstractModel model)
BpmnModel getBpmnModel(AbstractModel model)
CmmnModel getCmmnModel(AbstractModel model)
byte[] getCmmnXML(CmmnModel cmmnModel)
byte[] getCmmnXML(AbstractModel model)
CmmnModel getCmmnModel(AbstractModel model, ConverterContext converterContext)
String createModelJson(ModelRepresentation model)
Model createModel(ModelRepresentation model, String editorJson, String createdBy)
Model saveModel(Model modelObject, String editorJson, byte[] imageBytes, boolean newVersion, String newVersionComment, String updatedBy)
Model saveModel(String modelId, String name, String key, String description, String editorJson, boolean newVersion, String newVersionComment, String updatedBy)
ModelRepresentation importNewVersion(String modelId, String fileName, InputStream modelStream)
Model createNewModelVersion(Model modelObject, String comment, String updatedBy)
ModelHistory createNewModelVersionAndReturnModelHistory(Model modelObject, String comment, String updatedBy)
void deleteModel(String modelId)
ReviveModelResultRepresentation reviveProcessModelHistory(ModelHistory modelHistory, String userId, String newVersionComment)
Copyright © 2021 Flowable. All rights reserved.