@Service @Transactional public class FlowableModelQueryService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BpmnJsonConverter |
bpmnJsonConverter |
protected BpmnXMLConverter |
bpmnXmlConverter |
protected CmmnJsonConverter |
cmmnJsonConverter |
protected CmmnXmlConverter |
cmmnXmlConverter |
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 |
| Constructor and Description |
|---|
FlowableModelQueryService() |
| Modifier and Type | Method and Description |
|---|---|
protected ModelRepresentation |
createModelRepresentation(AbstractModel model) |
ResultListDataRepresentation |
getCmmnModelsToIncludeInAppDefinition() |
ResultListDataRepresentation |
getModels(String filter,
String sort,
Integer modelType,
javax.servlet.http.HttpServletRequest request) |
ResultListDataRepresentation |
getModelsToIncludeInAppDefinition() |
ModelRepresentation |
importCaseModel(javax.servlet.http.HttpServletRequest request,
org.springframework.web.multipart.MultipartFile file) |
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 int MIN_FILTER_LENGTH
@Autowired protected ModelRepository modelRepository
@Autowired protected ModelService modelService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected BpmnXMLConverter bpmnXmlConverter
protected BpmnJsonConverter bpmnJsonConverter
protected CmmnXmlConverter cmmnXmlConverter
protected CmmnJsonConverter cmmnJsonConverter
public ResultListDataRepresentation getModels(String filter, String sort, Integer modelType, javax.servlet.http.HttpServletRequest request)
public ResultListDataRepresentation getModelsToIncludeInAppDefinition()
public ResultListDataRepresentation getCmmnModelsToIncludeInAppDefinition()
public ModelRepresentation importProcessModel(javax.servlet.http.HttpServletRequest request, org.springframework.web.multipart.MultipartFile file)
public ModelRepresentation importCaseModel(javax.servlet.http.HttpServletRequest request, org.springframework.web.multipart.MultipartFile file)
protected ModelRepresentation createModelRepresentation(AbstractModel model)
Copyright © 2018 Flowable. All rights reserved.