Package org.fireflow.engine.impl

Examples of org.fireflow.engine.impl.ProcessInstanceVar


     
      return (ProcessInstanceVar)this.getHibernateTemplate().get(ProcessInstanceVar.class, pk);
    }
   
    public void updateProcessInstanceVariable(ProcessInstanceVar var){
      ProcessInstanceVar oldVar = (ProcessInstanceVar)this.getHibernateTemplate().get(ProcessInstanceVar.class, var.getVarPrimaryKey());
      if (oldVar!=null){
        oldVar.setValue(var.getValue());
      }
      else{
        saveProcessInstanceVariable(var);
      }
//      this.getHibernateTemplate().merge(var);
View Full Code Here


public class ProcessInstanceVarRowMapper implements RowMapper
{
  public Object mapRow(ResultSet rs, int rowNum) throws SQLException
  {
    ProcessInstanceVar processInstanceVar = new ProcessInstanceVar();
    ProcessInstanceVarPk pk = new ProcessInstanceVarPk();
    pk.setProcessInstanceId(rs.getString("processinstance_id"));
    pk.setName(rs.getString("name"));
    processInstanceVar.setVarPrimaryKey(pk);

    String valueStr = rs.getString("value");
    Object valueObj = getObject(valueStr);
    processInstanceVar.setValue(valueObj);

    return processInstanceVar;

  }
View Full Code Here

TOP

Related Classes of org.fireflow.engine.impl.ProcessInstanceVar

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.