public interface ModelService
| Modifier and Type | Method and Description |
|---|---|
Model |
createModel(ModelRepresentation model,
String editorJson,
org.flowable.idm.api.User createdBy) |
Model |
createModel(Model newModel,
org.flowable.idm.api.User createdBy) |
String |
createModelJson(ModelRepresentation model) |
Model |
createNewModelVersion(Model modelObject,
String comment,
org.flowable.idm.api.User updatedBy) |
ModelHistory |
createNewModelVersionAndReturnModelHistory(Model modelObject,
String comment,
org.flowable.idm.api.User updatedBy) |
void |
deleteModel(String modelId) |
BpmnModel |
getBpmnModel(AbstractModel model) |
BpmnModel |
getBpmnModel(AbstractModel model,
Map<String,Model> formMap,
Map<String,Model> decisionTableMap) |
byte[] |
getBpmnXML(AbstractModel model) |
byte[] |
getBpmnXML(BpmnModel bpmnMode) |
CmmnModel |
getCmmnModel(AbstractModel model) |
CmmnModel |
getCmmnModel(AbstractModel model,
Map<String,Model> formMap,
Map<String,Model> decisionTableMap,
Map<String,Model> caseModelMap,
Map<String,Model> processModelMap) |
byte[] |
getCmmnXML(AbstractModel model) |
byte[] |
getCmmnXML(CmmnModel cmmnModel) |
Model |
getModel(String modelId) |
Long |
getModelCountForUser(org.flowable.idm.api.User user,
int modelTypeApp) |
ModelHistory |
getModelHistory(String modelId,
String modelHistoryId) |
ModelRepresentation |
getModelRepresentation(String modelId) |
List<AbstractModel> |
getModelsByModelType(Integer modelType) |
ModelRepresentation |
importNewVersion(String modelId,
String fileName,
InputStream modelStream) |
ReviveModelResultRepresentation |
reviveProcessModelHistory(ModelHistory modelHistory,
org.flowable.idm.api.User user,
String newVersionComment) |
Model |
saveModel(Model modelObject) |
Model |
saveModel(Model modelObject,
String editorJson,
byte[] imageBytes,
boolean newVersion,
String newVersionComment,
org.flowable.idm.api.User updatedBy) |
Model |
saveModel(String modelId,
String name,
String key,
String description,
String editorJson,
boolean newVersion,
String newVersionComment,
org.flowable.idm.api.User updatedBy) |
ModelKeyRepresentation |
validateModelKey(Model model,
Integer modelType,
String key) |
ModelRepresentation getModelRepresentation(String modelId)
List<AbstractModel> getModelsByModelType(Integer modelType)
ModelKeyRepresentation validateModelKey(Model model, Integer modelType, String key)
ModelHistory getModelHistory(String modelId, String modelHistoryId)
Long getModelCountForUser(org.flowable.idm.api.User user, int modelTypeApp)
BpmnModel getBpmnModel(AbstractModel model)
byte[] getBpmnXML(BpmnModel bpmnMode)
byte[] getBpmnXML(AbstractModel model)
BpmnModel getBpmnModel(AbstractModel model, Map<String,Model> formMap, Map<String,Model> decisionTableMap)
CmmnModel getCmmnModel(AbstractModel model)
byte[] getCmmnXML(CmmnModel cmmnModel)
byte[] getCmmnXML(AbstractModel model)
CmmnModel getCmmnModel(AbstractModel model, Map<String,Model> formMap, Map<String,Model> decisionTableMap, Map<String,Model> caseModelMap, Map<String,Model> processModelMap)
String createModelJson(ModelRepresentation model)
Model createModel(ModelRepresentation model, String editorJson, org.flowable.idm.api.User createdBy)
Model saveModel(Model modelObject, String editorJson, byte[] imageBytes, boolean newVersion, String newVersionComment, org.flowable.idm.api.User updatedBy)
Model saveModel(String modelId, String name, String key, String description, String editorJson, boolean newVersion, String newVersionComment, org.flowable.idm.api.User updatedBy)
ModelRepresentation importNewVersion(String modelId, String fileName, InputStream modelStream)
Model createNewModelVersion(Model modelObject, String comment, org.flowable.idm.api.User updatedBy)
ModelHistory createNewModelVersionAndReturnModelHistory(Model modelObject, String comment, org.flowable.idm.api.User updatedBy)
void deleteModel(String modelId)
ReviveModelResultRepresentation reviveProcessModelHistory(ModelHistory modelHistory, org.flowable.idm.api.User user, String newVersionComment)
Copyright © 2018 Flowable. All rights reserved.