Package org.huihoo.workflow.client.serial.model

Examples of org.huihoo.workflow.client.serial.model.SerialWork


      }
     
      WorkflowWork workflowWork=caseDatabase.findWorkflowWork(session,workflowProcess,localCase,workId);
      if(workflowWork!=null)
      {
        return new SerialWork(workflowWork);
      }
      return null;
    }
View Full Code Here


   
      List result=new ArrayList();
   
      for(int i=0;i<workList.size();++i)
      {
        result.add(new SerialWork((WorkflowWork)workList.get(i)));
      }
      return result;
    }
View Full Code Here

      List workList=caseDatabase.getWorkflowWorkList(session,workflowProcess,localCase,userDatabase.findParticipant(performer.getUUID()),itemStatus)
      List result=new ArrayList();
   
      for(int i=0;i<workList.size();++i)
      {
        result.add(new SerialWork((WorkflowWork)workList.get(i)));
      }
      return result;     
    }
View Full Code Here

    String caseId=caseDatabase.createLiveCase(sessionID,liveProcess,zosatapo,new Date(),"first case"," "," ");
   
    SerialCase liveCase=caseDatabase.findLiveCase(sessionID,liveProcess,caseId);   
    System.err.println("PackageID="+liveCase.getPackageID());
   
    SerialWork liveWork=(SerialWork)caseDatabase.getLiveWorkList(sessionID,liveProcess,liveCase,zosatapo,Constants.WORK_STATUS_ACCEPTED).get(0);
    caseDatabase.dispatch(sessionID,liveWork);
    liveClient.disconnect();
   
    System.err.println("-------org.huihoo.workflow execution completed--------------");
  }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.client.serial.model.SerialWork

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.