Class ModelElementsCreator

java.lang.Object
io.jmix.bpmflowui.view.modeler.impl.ModelElementsCreator

@Component("bpm_ModelElementsCreator") public class ModelElementsCreator extends Object
  • Constructor Details

    • ModelElementsCreator

      public ModelElementsCreator(Metadata metadata)
  • Method Details

    • createModelElement

      public <T> T createModelElement(Class<T> modelClass, String json)
    • readRootNode

      protected com.fasterxml.jackson.databind.JsonNode readRootNode(String json)
    • createSendEmailTaskModel

      public SendEmailTaskModel createSendEmailTaskModel(String json)
    • createStartEventModel

      public StartEventModel createStartEventModel(String json)
    • createProcessModel

      public ProcessModel createProcessModel(String json)
    • createProcessModel

      protected ProcessModel createProcessModel(com.fasterxml.jackson.databind.JsonNode root)
    • createParticipantModel

      public ParticipantModel createParticipantModel(String json)
    • createLaneModel

      public LaneModel createLaneModel(String json)
    • createUserTaskModel

      public UserTaskModel createUserTaskModel(String json)
    • createServiceTaskModel

      public ServiceTaskModel createServiceTaskModel(String json)
    • extractFailedJobRetryCycle

      protected String extractFailedJobRetryCycle(com.fasterxml.jackson.databind.JsonNode root)
    • createBusinessRuleTaskModel

      public BusinessRuleTaskModel createBusinessRuleTaskModel(String json)
    • createScriptTaskModel

      public ScriptTaskModel createScriptTaskModel(String json)
    • createTimerEventModel

      public TimerEventModel createTimerEventModel(String json)
    • extractTimerDescription

      protected TimerDescriptionModel extractTimerDescription(com.fasterxml.jackson.databind.JsonNode root)
    • createSignalEventModel

      public SignalEventModel createSignalEventModel(String json)
    • createMessageEventModel

      public MessageEventModel createMessageEventModel(String json)
    • createTerminateEndEventModel

      public TerminateEndEventModel createTerminateEndEventModel(String json)
    • extractMessageRefModel

      protected MessageRefModel extractMessageRefModel(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • createErrorEventModel

      public ErrorEventModel createErrorEventModel(String json)
    • extractErrorRefModel

      protected ErrorRefModel extractErrorRefModel(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • createEntityDataTaskModel

      protected EntityDataTaskModel createEntityDataTaskModel(String json)
    • extractSignalRefModel

      protected SignalRefModel extractSignalRefModel(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • createSequenceFlowModel

      public SequenceFlowModel createSequenceFlowModel(String json)
    • extractConditionDetailsModel

      protected ConditionDetailsModel extractConditionDetailsModel(com.fasterxml.jackson.databind.JsonNode root)
    • createUnknownElementModel

      public UnknownElementModel createUnknownElementModel(String json)
    • createCallActivityModel

      public CallActivityModel createCallActivityModel(String json)
    • createSubProcessModel

      public SubProcessModel createSubProcessModel(String json)
    • extractEventDefinitionType

      @Nullable public String extractEventDefinitionType(String json)
    • 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

      protected FormDataModel extractFormDataModel(com.fasterxml.jackson.databind.JsonNode root)
    • 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

      protected List<FieldModel> extractFields(com.fasterxml.jackson.databind.JsonNode listenerNode)
    • extractSingleField

      protected FieldModel extractSingleField(com.fasterxml.jackson.databind.JsonNode fieldNode)
    • extractFieldsForServiceTask

      protected List<FieldModel> extractFieldsForServiceTask(com.fasterxml.jackson.databind.JsonNode elementNode)
    • extractExecutionListeners

      protected List<ExecutionListenerModel> extractExecutionListeners(com.fasterxml.jackson.databind.JsonNode elementNode)
    • extractDocumentation

      protected String extractDocumentation(com.fasterxml.jackson.databind.JsonNode elementNode)
    • extractTerminateAll

      protected Boolean extractTerminateAll(com.fasterxml.jackson.databind.JsonNode elementNode)
    • extractAssignmentDetailsModelForLane

      protected AssignmentDetailsModel extractAssignmentDetailsModelForLane(com.fasterxml.jackson.databind.JsonNode root)
    • extractAssignmentDetailsModelForUserTask

      protected AssignmentDetailsModel extractAssignmentDetailsModelForUserTask(com.fasterxml.jackson.databind.JsonNode root)
    • getStringOrNull

      @Nullable protected String getStringOrNull(com.fasterxml.jackson.databind.JsonNode node, String fieldName)