public class AbstractModelsResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BpmnJsonConverter |
bpmnJsonConverter |
protected BpmnXMLConverter |
bpmnXmlConverter |
protected static String |
FILTER_FAVORITE |
protected static String |
FILTER_SHARED_WITH_ME |
protected static String |
FILTER_SHARED_WITH_OTHERS |
protected static int |
MIN_FILTER_LENGTH |
protected ModelRepository |
modelRepository |
protected ModelService |
modelService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected static String |
SORT_MODIFIED_ASC |
protected static String |
SORT_NAME_ASC |
protected static String |
SORT_NAME_DESC |
| Constructor and Description |
|---|
AbstractModelsResource() |
| Modifier and Type | Method and Description |
|---|---|
protected ModelRepresentation |
createModelRepresentation(AbstractModel model) |
ResultListDataRepresentation |
getModels(String filter,
String sort,
Integer modelType,
javax.servlet.http.HttpServletRequest request) |
ResultListDataRepresentation |
getModelsToIncludeInAppDefinition() |
protected org.springframework.data.domain.Sort |
getSort(String sort,
boolean prefixWithProcessModel) |
ModelRepresentation |
importProcessModel(javax.servlet.http.HttpServletRequest request,
org.springframework.web.multipart.MultipartFile file) |
protected String |
makeValidFilterText(String filterText) |
protected static final String FILTER_SHARED_WITH_ME
protected static final String FILTER_SHARED_WITH_OTHERS
protected static final String FILTER_FAVORITE
protected static final String SORT_NAME_ASC
protected static final String SORT_NAME_DESC
protected static final String SORT_MODIFIED_ASC
protected static final int MIN_FILTER_LENGTH
@Inject protected ModelRepository modelRepository
@Inject protected ModelService modelService
@Inject protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected BpmnXMLConverter bpmnXmlConverter
protected BpmnJsonConverter bpmnJsonConverter
public ResultListDataRepresentation getModels(String filter, String sort, Integer modelType, javax.servlet.http.HttpServletRequest request)
public ResultListDataRepresentation getModelsToIncludeInAppDefinition()
public ModelRepresentation importProcessModel(javax.servlet.http.HttpServletRequest request, org.springframework.web.multipart.MultipartFile file)
protected ModelRepresentation createModelRepresentation(AbstractModel model)
protected org.springframework.data.domain.Sort getSort(String sort, boolean prefixWithProcessModel)
Copyright © 2017 Alfresco. All rights reserved.