Package org.huihoo.workflow.impl.runtime

Examples of org.huihoo.workflow.impl.runtime.SubWorkImpl


          workflowWork.setAcceptTime(DateTools.toJavaDate(jrs.getTimestamp("dat_acceptTime")));
          workflowWork.setDispatchTime(DateTools.toJavaDate(jrs.getTimestamp("dat_dispatchTime")));
        }
        else
        {
          SubWorkImpl workflowSubWork = new SubWorkImpl();
          workflowSubWork.setWorkflowCase(workflowCase);
          workflowSubWork.setUUID(jrs.getString("vc_uuid"));
          ownerProcess = workflowPackage.findWorkflowProcess(vc_owner_processId);
          workflowSubWork.setWorkflowActivity(ownerProcess.findWorkflowActivity(vc_activityId));
          workflowSubWork.setArriveTime(DateTools.toJavaDate(jrs.getTimestamp("dat_arriveTime")));
          workflowSubWork.setAcceptTime(DateTools.toJavaDate(jrs.getTimestamp("dat_acceptTime")));
          workflowSubWork.setDispatchTime(
            DateTools.toJavaDate(jrs.getTimestamp("dat_dispatchTime")));

          workflowSubWork.setParentWorkflowWork(findWork_impl(gCaseDatabaseImpl,workflowProcess,operator,conn,false,workflowCase, parent_workId));
          workflowWork = workflowSubWork;
        }
      }
    }
    catch (SQLException sqlex)
View Full Code Here


          gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(
              vc_performer));
        }
        else
        {
          SubWorkImpl workflowSubWork = new SubWorkImpl();
          workflowSubWork.setWorkflowCase(findCase_impl(gCaseDatabaseImpl,workflowProcess,operator,conn,false,vc_caseId, false));
          workflowSubWork.setUUID(jrs.getString("vc_uuid"));
          ownerProcess = workflowPackage.findWorkflowProcess(vc_owner_processId);
          workflowSubWork.setWorkflowActivity(ownerProcess.findWorkflowActivity(vc_activityId));
          workflowSubWork.setArriveTime(DateTools.toJavaDate(jrs.getTimestamp("dat_arriveTime")));
          workflowSubWork.setAcceptTime(DateTools.toJavaDate(jrs.getTimestamp("dat_acceptTime")));
          workflowSubWork.setDispatchTime(
            DateTools.toJavaDate(jrs.getTimestamp("dat_dispatchTime")));

          workflowWork.setPerformer(
          gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(
              vc_performer));

          workflowSubWork.setParentWorkflowWork(
            findWork_impl(gCaseDatabaseImpl,workflowProcess,operator,conn,false,workflowSubWork.getWorkflowCase(), parent_workId));
          workflowWork = workflowSubWork;
        }
        workList.add(workflowWork);
      }
    }
View Full Code Here

          workflowWork.setPerformer(
          gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(vc_performer));
        }
        else
        {
          SubWorkImpl workflowSubWork = new SubWorkImpl();
          workflowSubWork.setWorkflowCase(workflowCase);
          workflowSubWork.setUUID(jrs.getString("vc_uuid"));
          ownerProcess = workflowPackage.findWorkflowProcess(vc_owner_processId);
          workflowSubWork.setWorkflowActivity(ownerProcess.findWorkflowActivity(vc_activityId));
          workflowSubWork.setArriveTime(DateTools.toJavaDate(jrs.getTimestamp("dat_arriveTime")));
          workflowSubWork.setAcceptTime(DateTools.toJavaDate(jrs.getTimestamp("dat_acceptTime")));
          workflowSubWork.setDispatchTime(
            DateTools.toJavaDate(jrs.getTimestamp("dat_dispatchTime")));
          workflowWork.setPerformer(gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(vc_performer));

          workflowSubWork.setParentWorkflowWork(findWork_impl(gCaseDatabaseImpl,workflowProcess,operator,conn,false,workflowCase, parent_workId));
          workflowWork = workflowSubWork;
        }
        workList.add(workflowWork);
      }
    }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.impl.runtime.SubWorkImpl

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.