Package org.activiti.engine.impl.variable

Examples of org.activiti.engine.impl.variable.VariableTypes


    }
    return groupIds;
  }
 
  protected void ensureVariablesInitialized() {   
    VariableTypes types = Context.getProcessEngineConfiguration().getVariableTypes();
    for (QueryVariableValue var : queryVariableValues) {
      var.initialize(types);
    }
   
    if(orQueryObject != null) {
View Full Code Here


 
    // Always check if the type should be altered. It's possible that the previous type is lower in the type
    // checking chain (eg. serializable) and will return true on isAbleToStore(), even though another type
    // higher in the chain is eligable for storage.
   
    VariableTypes variableTypes = Context
        .getProcessEngineConfiguration()
        .getVariableTypes();
   
    VariableType newType = variableTypes.findVariableType(value);
   
   if ((variableInstance != null) && (!variableInstance.getType().equals(newType))) {
    variableInstance.setValue(null);
    variableInstance.setType(newType);
    variableInstance.forceUpdate();
View Full Code Here

    Context.getCommandContext().getHistoryManager()
      .recordVariableUpdate(variableInstance);
  }

  protected VariableInstanceEntity createVariableInstance(String variableName, Object value, ExecutionEntity sourceActivityExecution) {
    VariableTypes variableTypes = Context
      .getProcessEngineConfiguration()
      .getVariableTypes();
   
    VariableType type = variableTypes.findVariableType(value);
    VariableInstanceEntity variableInstance = VariableInstanceEntity.createAndInsert(variableName, type, value);
    initializeVariableInstanceBackPointer(variableInstance);
    variableInstances.put(variableName, variableInstance);
    variableInstanceList.add(variableInstance);
View Full Code Here

    return this;
  }

  protected void ensureVariablesInitialized() {
    if (this.queryVariableValue != null) {
      VariableTypes variableTypes = Context.getProcessEngineConfiguration().getVariableTypes();
      queryVariableValue.initialize(variableTypes);
    }
  }
View Full Code Here

    }
    return this;
  }
 
  protected void ensureVariablesInitialized() {   
    VariableTypes types = Context.getProcessEngineConfiguration().getVariableTypes();
    for (QueryVariableValue var : queryVariableValues) {
      var.initialize(types);
    }
    if (orQueryObject != null) {
      orQueryObject.ensureVariablesInitialized();
View Full Code Here

    return Boolean.class.isAssignableFrom(value.getClass()) || boolean.class.isAssignableFrom(value.getClass());
  }

  protected void ensureVariablesInitialized() {
    if (!queryVariableValues.isEmpty()) {
      VariableTypes variableTypes = Context
              .getProcessEngineConfiguration()
              .getVariableTypes();
      for(QueryVariableValue queryVariableValue : queryVariableValues) {
        queryVariableValue.initialize(variableTypes);
      }
View Full Code Here

    }
    return groupIds;
  }
 
  protected void ensureVariablesInitialized() {   
    VariableTypes types = Context.getProcessEngineConfiguration().getVariableTypes();
    for(QueryVariableValue var : variables) {
      var.initialize(types);
    }
  }
View Full Code Here

    Context.getCommandContext().getHistoryManager()
      .recordVariableUpdate(variableInstance);
  }

  protected VariableInstanceEntity createVariableInstance(String variableName, Object value, ExecutionEntity sourceActivityExecution) {
    VariableTypes variableTypes = Context
      .getProcessEngineConfiguration()
      .getVariableTypes();
   
    VariableType type = variableTypes.findVariableType(value);
    VariableInstanceEntity variableInstance = VariableInstanceEntity.createAndInsert(variableName, type, value);
    initializeVariableInstanceBackPointer(variableInstance);
    variableInstances.put(variableName, variableInstance);
   
View Full Code Here

    return Boolean.class.isAssignableFrom(value.getClass()) || boolean.class.isAssignableFrom(value.getClass());
  }

  protected void ensureVariablesInitialized() {
    if (!queryVariableValues.isEmpty()) {
      VariableTypes variableTypes = Context
              .getProcessEngineConfiguration()
              .getVariableTypes();
      for(QueryVariableValue queryVariableValue : queryVariableValues) {
        queryVariableValue.initialize(variableTypes);
      }
View Full Code Here

    this.processUnfinished = true;
    return this;
  }
 
  protected void ensureVariablesInitialized() {   
    VariableTypes types = Context.getProcessEngineConfiguration().getVariableTypes();
    for(QueryVariableValue var : variables) {
      var.initialize(types);
    }
  }
View Full Code Here

TOP

Related Classes of org.activiti.engine.impl.variable.VariableTypes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.