public class AbstractModelResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BpmnJsonConverter |
bpmnJsonConverter |
protected BpmnXMLConverter |
bpmnXMLConverter |
protected ModelService |
modelService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
AbstractModelResource() |
| Modifier and Type | Method and Description |
|---|---|
ModelRepresentation |
getModel(String modelId) |
byte[] |
getModelThumbnail(String modelId) |
ModelRepresentation |
importNewVersion(String modelId,
org.springframework.web.multipart.MultipartFile file) |
@Autowired protected ModelService modelService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected BpmnJsonConverter bpmnJsonConverter
protected BpmnXMLConverter bpmnXMLConverter
public ModelRepresentation getModel(String modelId)
public byte[] getModelThumbnail(String modelId)
public ModelRepresentation importNewVersion(String modelId, org.springframework.web.multipart.MultipartFile file)
Copyright © 2017 Alfresco. All rights reserved.