Class ModelElementsCreator
java.lang.Object
io.jmix.bpmui.screen.modeler.properties.ModelElementsCreator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EntityDataTaskModel
createErrorEventModel
(String json) createLaneModel
(String json) <T> T
createModelElement
(Class<T> modelClass, String json) createParticipantModel
(String json) protected ProcessModel
createProcessModel
(com.fasterxml.jackson.databind.JsonNode root) createProcessModel
(String json) createScriptTaskModel
(String json) createServiceTaskModel
(String json) createSignalEventModel
(String json) createStartEventModel
(String json) createSubProcessModel
(String json) createTimerEventModel
(String json) createUserTaskModel
(String json) protected AssignmentDetailsModel
extractAssignmentDetailsModelForLane
(com.fasterxml.jackson.databind.JsonNode root) protected AssignmentDetailsModel
extractAssignmentDetailsModelForUserTask
(com.fasterxml.jackson.databind.JsonNode root) protected List<BeanMethodModel>
extractBeanMethodModel
(com.fasterxml.jackson.databind.JsonNode root) protected ConditionDetailsModel
extractConditionDetailsModel
(com.fasterxml.jackson.databind.JsonNode root) protected String
extractDocumentation
(com.fasterxml.jackson.databind.JsonNode elementNode) protected ErrorRefModel
extractErrorRefModel
(com.fasterxml.jackson.databind.JsonNode jsonNode) protected List<ExecutionListenerModel>
extractExecutionListeners
(com.fasterxml.jackson.databind.JsonNode elementNode) protected List<ExtensionPropertyModel>
extractExecutionProperties
(com.fasterxml.jackson.databind.JsonNode rootNode) protected List<FieldModel>
extractFields
(com.fasterxml.jackson.databind.JsonNode listenerNode) protected List<FieldModel>
extractFieldsForServiceTask
(com.fasterxml.jackson.databind.JsonNode elementNode) protected FormDataModel
extractFormDataModel
(com.fasterxml.jackson.databind.JsonNode root) protected List<InOutBindingModel>
extractInOutBindings
(com.fasterxml.jackson.databind.JsonNode processNode, String extensionElementType) protected MessageRefModel
extractMessageRefModel
(com.fasterxml.jackson.databind.JsonNode jsonNode) protected MultiInstanceLoopCharacteristicsModel
extractMultiInstanceLoopCharacteristicsModel
(com.fasterxml.jackson.databind.JsonNode root) protected List<EventListenerModel>
extractProcessEventListeners
(com.fasterxml.jackson.databind.JsonNode processNode) protected List<ProcessVariableModel>
extractProcessVariables
(com.fasterxml.jackson.databind.JsonNode processNode) protected SignalRefModel
extractSignalRefModel
(com.fasterxml.jackson.databind.JsonNode jsonNode) protected FieldModel
extractSingleField
(com.fasterxml.jackson.databind.JsonNode fieldNode) protected List<TaskListenerModel>
extractTaskListeners
(com.fasterxml.jackson.databind.JsonNode userTaskNode) protected Boolean
extractTerminateAll
(com.fasterxml.jackson.databind.JsonNode elementNode) protected TimerDescriptionModel
extractTimerDescription
(com.fasterxml.jackson.databind.JsonNode root) protected String
getStringOrNull
(com.fasterxml.jackson.databind.JsonNode node, String fieldName) protected List<FormFieldEnumValueModel>
parseFormFieldEnumValues
(com.fasterxml.jackson.databind.JsonNode fieldNode) protected List<FormFieldPropertyModel>
parseFormFieldProperties
(com.fasterxml.jackson.databind.JsonNode fieldNode) protected List<FormFieldModel>
parseFormFields
(com.fasterxml.jackson.databind.JsonNode formDataNode) protected List<FormOutcomeModel>
parseFormOutcomes
(com.fasterxml.jackson.databind.JsonNode formDataNode) protected List<FormParamModel>
parseFormParams
(com.fasterxml.jackson.databind.JsonNode formDataNode) protected List<BeanMethodParamModel>
parseSpringBeanMethodParams
(com.fasterxml.jackson.databind.JsonNode springBeanNode) protected com.fasterxml.jackson.databind.JsonNode
readRootNode
(String json)
-
Field Details
-
metadata
-
-
Constructor Details
-
ModelElementsCreator
public ModelElementsCreator()
-
-
Method Details
-
createModelElement
-
readRootNode
-
createSendEmailTaskModel
-
createStartEventModel
-
createProcessModel
-
createProcessModel
-
createParticipantModel
-
createLaneModel
-
createUserTaskModel
-
createServiceTaskModel
-
createBusinessRuleTaskModel
-
createScriptTaskModel
-
createTimerEventModel
-
extractTimerDescription
protected TimerDescriptionModel extractTimerDescription(com.fasterxml.jackson.databind.JsonNode root) -
createSignalEventModel
-
createMessageEventModel
-
createTerminateEndEventModel
-
extractMessageRefModel
-
createErrorEventModel
-
extractErrorRefModel
-
createEntityDataTaskModel
-
extractSignalRefModel
-
createSequenceFlowModel
-
extractConditionDetailsModel
protected ConditionDetailsModel extractConditionDetailsModel(com.fasterxml.jackson.databind.JsonNode root) -
createUnknownElementModel
-
createCallActivityModel
-
createSubProcessModel
-
extractEventDefinitionType
-
extractInOutBindings
protected List<InOutBindingModel> extractInOutBindings(com.fasterxml.jackson.databind.JsonNode processNode, String extensionElementType) -
extractMultiInstanceLoopCharacteristicsModel
protected MultiInstanceLoopCharacteristicsModel extractMultiInstanceLoopCharacteristicsModel(com.fasterxml.jackson.databind.JsonNode root) -
extractBeanMethodModel
protected List<BeanMethodModel> extractBeanMethodModel(com.fasterxml.jackson.databind.JsonNode root) -
extractFormDataModel
-
parseFormFields
protected List<FormFieldModel> parseFormFields(com.fasterxml.jackson.databind.JsonNode formDataNode) -
parseFormParams
protected List<FormParamModel> parseFormParams(com.fasterxml.jackson.databind.JsonNode formDataNode) -
parseFormOutcomes
protected List<FormOutcomeModel> parseFormOutcomes(com.fasterxml.jackson.databind.JsonNode formDataNode) -
parseFormFieldProperties
protected List<FormFieldPropertyModel> parseFormFieldProperties(com.fasterxml.jackson.databind.JsonNode fieldNode) -
parseFormFieldEnumValues
protected List<FormFieldEnumValueModel> parseFormFieldEnumValues(com.fasterxml.jackson.databind.JsonNode fieldNode) -
parseSpringBeanMethodParams
protected List<BeanMethodParamModel> parseSpringBeanMethodParams(com.fasterxml.jackson.databind.JsonNode springBeanNode) -
extractProcessEventListeners
protected List<EventListenerModel> extractProcessEventListeners(com.fasterxml.jackson.databind.JsonNode processNode) -
extractProcessVariables
protected List<ProcessVariableModel> extractProcessVariables(com.fasterxml.jackson.databind.JsonNode processNode) -
extractExecutionProperties
protected List<ExtensionPropertyModel> extractExecutionProperties(com.fasterxml.jackson.databind.JsonNode rootNode) -
extractTaskListeners
protected List<TaskListenerModel> extractTaskListeners(com.fasterxml.jackson.databind.JsonNode userTaskNode) -
extractFields
-
extractSingleField
-
extractFieldsForServiceTask
protected List<FieldModel> extractFieldsForServiceTask(com.fasterxml.jackson.databind.JsonNode elementNode) -
extractExecutionListeners
protected List<ExecutionListenerModel> extractExecutionListeners(com.fasterxml.jackson.databind.JsonNode elementNode) -
extractDocumentation
-
extractTerminateAll
-
extractAssignmentDetailsModelForLane
protected AssignmentDetailsModel extractAssignmentDetailsModelForLane(com.fasterxml.jackson.databind.JsonNode root) -
extractAssignmentDetailsModelForUserTask
protected AssignmentDetailsModel extractAssignmentDetailsModelForUserTask(com.fasterxml.jackson.databind.JsonNode root) -
getStringOrNull
-