Package org.uengine.kernel

Examples of org.uengine.kernel.RoleMapping.beforeFirst()


      resultsForTransformers.put(this, result);
     
      if(result instanceof RoleMapping){
        RoleMapping rm = (RoleMapping)result;
        try {
          rm.beforeFirst();
          rm.fill(instance);
          String endpoint = rm.getEndpoint();
          result = rm;
        } catch (Exception e) {
          e.printStackTrace();
View Full Code Here


    if(getter!=null){
      try {
        result = getter.invoke(result, new Object[]{});
        if(result == null && isRoleMappingClass){
          RoleMapping rm = (RoleMapping)tempRole;
          rm.beforeFirst();
          rm.fill(instance);
          result = getter.invoke(rm, new Object[]{});
        }
       
        return result;
View Full Code Here

      HumanActivity humanActivity = (HumanActivity)activity;
     
      RoleMapping theMapping = humanActivity.getRole().getMapping(instance);
     
      if(theMapping !=null){
        theMapping.beforeFirst();
        do{
          TransactionContext tc;
         
          if(DW_DSN!=null){
            tc = new SimpleTransactionContext(DW_DSN);
View Full Code Here

          if(tc instanceof SimpleTransactionContext)
            tc.releaseResources();
         
        }while(theMapping.next());
       
        theMapping.beforeFirst();
      }
    }
   
  }
View Full Code Here

     
      HumanActivity humanActivity = (HumanActivity)activity;
     
      RoleMapping theMapping = humanActivity.getRole().getMapping(instance);
 
      theMapping.beforeFirst();

      TransactionContext tc;
     
      if(DW_DSN!=null){
        tc = new SimpleTransactionContext(DW_DSN);
View Full Code Here

      for (String endpoint : dwMsg.getEndpoints()) {
        rm.setEndpoint(endpoint);
        rm.fill(instance);
        rm.moveToAdd();
      }
      rm.beforeFirst();
     
      pm.delegateWorkitem(dwMsg.getInstanceId(), dwMsg.getTracingTag(), rm);
    }
  }
 
View Full Code Here

      for (String endpoint : role.getEndpoints()) {
        roleMapping.setEndpoint(endpoint);
        roleMapping.fill(instance);
        roleMapping.moveToAdd();
      }
      roleMapping.beforeFirst();

      pm.putRoleMapping(instanceId, roleMapping);
    }
  }
View Full Code Here

        }
       
        if(i < (values.length-1))
          roleMapping.moveToAdd();
      }
      roleMapping.beforeFirst();
     
      return roleMapping;
    }else{
      return nullValue;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.