public class AbstractModelResource extends BaseModelResource
Modifier and Type | Field and Description |
---|---|
protected org.activiti.editor.language.json.converter.BpmnJsonConverter |
bpmnJsonConverter |
protected BpmnXMLConverter |
bpmnXMLConverter |
protected ModelInternalService |
modelService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected com.activiti.repository.editor.ModelShareInfoRepository |
shareInfoRepository |
historyRepository, modelRepository, PROCESS_NOT_FOUND_MESSAGE_KEY
Constructor and Description |
---|
AbstractModelResource() |
Modifier and Type | Method and Description |
---|---|
com.activiti.model.editor.ModelRepresentation |
getModel(Long modelId,
Boolean includePermissions) |
byte[] |
getModelThumbnail(Long modelId) |
com.activiti.model.editor.ModelRepresentation |
importNewVersion(Long modelId,
org.springframework.web.multipart.MultipartFile file) |
getModel, getModelHistory, getParentModel, getProcessModelForOwner, populatePermissions
@Inject protected ModelInternalService modelService
@Inject protected com.activiti.repository.editor.ModelShareInfoRepository shareInfoRepository
protected org.activiti.editor.language.json.converter.BpmnJsonConverter bpmnJsonConverter
protected BpmnXMLConverter bpmnXMLConverter
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public com.activiti.model.editor.ModelRepresentation getModel(Long modelId, Boolean includePermissions)
public byte[] getModelThumbnail(Long modelId)
public com.activiti.model.editor.ModelRepresentation importNewVersion(Long modelId, org.springframework.web.multipart.MultipartFile file)
Copyright © 2014–2015 Alfresco. All rights reserved.