public interface ModelInternalService extends ModelService
| Modifier and Type | Method and Description |
|---|---|
com.activiti.domain.editor.Model |
createModel(ModelRepresentation model,
String editorJson,
com.activiti.domain.idm.User createdBy) |
com.activiti.domain.editor.Model |
createNewModelVersion(com.activiti.domain.editor.Model modelObject,
String comment,
com.activiti.domain.idm.User updatedBy) |
com.activiti.domain.editor.ModelHistory |
createNewModelVersionAndReturnModelHistory(com.activiti.domain.editor.Model modelObject,
String comment,
com.activiti.domain.idm.User updatedBy) |
void |
deleteModel(long modelId,
boolean cascadeHistory,
boolean deleteRuntimeApp) |
BpmnModel |
getBpmnModel(com.activiti.domain.editor.AbstractModel model,
com.activiti.domain.idm.User user,
boolean refreshReferences) |
byte[] |
getBpmnXML(com.activiti.domain.editor.AbstractModel model,
com.activiti.domain.idm.User user) |
byte[] |
getBpmnXML(BpmnModel bpmnModel) |
ReviveModelResultRepresentation |
reviveProcessModelHistory(com.activiti.domain.editor.ModelHistory modelHistory,
com.activiti.domain.idm.User user,
String newVersionComment) |
com.activiti.domain.editor.Model |
saveModel(long modelId,
String name,
String description,
String editorJson,
boolean newVersion,
String newVersionComment,
com.activiti.domain.idm.User updatedBy) |
com.activiti.domain.editor.Model |
saveModel(com.activiti.domain.editor.Model modelObject) |
com.activiti.domain.editor.Model |
saveModel(com.activiti.domain.editor.Model modelObject,
String editorJson,
byte[] imageBytes,
boolean newVersion,
String newVersionComment,
com.activiti.domain.idm.User updatedBy) |
getModel, getModelCountForUser, getModelsByModelTypeAndReferenceIdbyte[] getBpmnXML(com.activiti.domain.editor.AbstractModel model,
com.activiti.domain.idm.User user)
byte[] getBpmnXML(BpmnModel bpmnModel)
getBpmnXML in interface ModelServiceBpmnModel getBpmnModel(com.activiti.domain.editor.AbstractModel model, com.activiti.domain.idm.User user, boolean refreshReferences)
getBpmnModel in interface ModelServicecom.activiti.domain.editor.Model createModel(ModelRepresentation model, String editorJson, com.activiti.domain.idm.User createdBy)
com.activiti.domain.editor.Model saveModel(com.activiti.domain.editor.Model modelObject)
com.activiti.domain.editor.Model saveModel(com.activiti.domain.editor.Model modelObject,
String editorJson,
byte[] imageBytes,
boolean newVersion,
String newVersionComment,
com.activiti.domain.idm.User updatedBy)
com.activiti.domain.editor.Model saveModel(long modelId,
String name,
String description,
String editorJson,
boolean newVersion,
String newVersionComment,
com.activiti.domain.idm.User updatedBy)
com.activiti.domain.editor.Model createNewModelVersion(com.activiti.domain.editor.Model modelObject,
String comment,
com.activiti.domain.idm.User updatedBy)
com.activiti.domain.editor.ModelHistory createNewModelVersionAndReturnModelHistory(com.activiti.domain.editor.Model modelObject,
String comment,
com.activiti.domain.idm.User updatedBy)
void deleteModel(long modelId,
boolean cascadeHistory,
boolean deleteRuntimeApp)
ReviveModelResultRepresentation reviveProcessModelHistory(com.activiti.domain.editor.ModelHistory modelHistory, com.activiti.domain.idm.User user, String newVersionComment)
Copyright © 2014–2015 Alfresco. All rights reserved.