Package org.flowable.ui.modeler.service
Class FlowableDecisionServiceService
- java.lang.Object
-
- org.flowable.ui.modeler.service.BaseFlowableModelService
-
- org.flowable.ui.modeler.service.FlowableDecisionServiceService
-
@Service @Transactional public class FlowableDecisionServiceService extends BaseFlowableModelService
- Author:
- yvoswillens, erikwinlof
-
-
Field Summary
Fields Modifier and Type Field Description protected DmnJsonConverterdmnJsonConverterprotected DmnXMLConverterdmnXmlConverterprotected static intMIN_FILTER_LENGTHprotected ModelServicemodelServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper-
Fields inherited from class org.flowable.ui.modeler.service.BaseFlowableModelService
modelHistoryRepository, modelRepository, PROCESS_NOT_FOUND_MESSAGE_KEY
-
-
Constructor Summary
Constructors Constructor Description FlowableDecisionServiceService()
-
Method Summary
-
Methods inherited from class org.flowable.ui.modeler.service.BaseFlowableModelService
getModel, getModelHistory
-
-
-
-
Field Detail
-
MIN_FILTER_LENGTH
protected static final int MIN_FILTER_LENGTH
- See Also:
- Constant Field Values
-
modelService
@Autowired protected ModelService modelService
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
dmnJsonConverter
protected DmnJsonConverter dmnJsonConverter
-
dmnXmlConverter
protected DmnXMLConverter dmnXmlConverter
-
-
Method Detail
-
getDecisionServices
public List<DecisionServiceRepresentation> getDecisionServices(String[] decisionServiceIds)
-
getDecisionServices
public ResultListDataRepresentation getDecisionServices(String filter)
-
exportDecisionService
public void exportDecisionService(javax.servlet.http.HttpServletResponse response, String decisionServiceId)
-
exportHistoricDecisionService
public void exportHistoricDecisionService(javax.servlet.http.HttpServletResponse response, String modelId, String modelHistoryId)
-
exportDecisionServiceDefinition
protected void exportDecisionServiceDefinition(javax.servlet.http.HttpServletResponse response, AbstractModel definitionModel)
-
exportDecisionServiceDefinition
protected void exportDecisionServiceDefinition(javax.servlet.http.HttpServletResponse response, AbstractModel definitionModel, DmnJsonConverterContext converterContext)
-
importDecisionService
public ModelRepresentation importDecisionService(javax.servlet.http.HttpServletRequest request, org.springframework.web.multipart.MultipartFile file)
-
getDecisionService
public DecisionServiceRepresentation getDecisionService(String decisionTableId)
-
getDecisionTableRepresentation
public DecisionServiceRepresentation getDecisionTableRepresentation(AbstractModel decisionTableModel)
-
getHistoricDecisionService
public DecisionServiceRepresentation getHistoricDecisionService(String modelHistoryId)
-
createDecisionServiceRepresentation
protected DecisionServiceRepresentation createDecisionServiceRepresentation(AbstractModel model)
-
-