Package org.huihoo.workflow.runtime

Examples of org.huihoo.workflow.runtime.WorkflowCaseContext


    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    ScriptInterpretor interpretor = workflowService.getScriptInterpretor();

    RuntimeContext context = null;
    WorkflowCase workflowCase = workflowWork.getWorkflowCase();
    WorkflowCaseContext caseContext = workflowCase.getCaseContext();

    int sizeTrans = transList.size();
    if (sizeTrans > 0)
    {
      WorkflowTransition transition = null;
View Full Code Here


    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    ScriptInterpretor interpretor = workflowService.getScriptInterpretor();

    RuntimeContext context = null;
    WorkflowCase workflowCase = workflowWork.getWorkflowCase();
    WorkflowCaseContext caseContext = workflowCase.getCaseContext();

    List rejectTrans = new ArrayList();

    int sizeTrans = transList.size();
    if (sizeTrans > 0)
View Full Code Here

      "[dispatch_manual] workitem: " + workflowWork.getInfo() + " | transition: " + workflowTransition.getInfo());

    WorkflowActivity workflowActivity = workflowTransition.getToWorkflowActivity();
    PerformerType performerType = workflowActivity.getPerformerType();
    WorkflowCase workflowCase = workflowWork.getWorkflowCase();
    WorkflowCaseContext caseContext = workflowCase.getCaseContext();

    UserDatabase userDatabase = workflowService.getUserDatabase();

    List users = caseContext.getPerformersByTransition(workflowTransition);

    if (users == null)
    {
      users = ParticipantSelector.select(workflowService, workflowProcess, workflowWork, workflowTransition);
    }
View Full Code Here

        workflowCase.setStatus(jrs.getInt("int_status"));
        workflowCase.setCreator(
        gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(
            jrs.getString("vc_creator")));
        workflowCase.setPrimaryKey(new PrimaryKeyImpl(jrs.getString("vc_primaryKey")));
        WorkflowCaseContext caseContext =
          ContexManager.fetchContext(storeConfig, schemaContext, workflowCase);
        workflowCase.setCaseContext(caseContext);
      }
    }
    catch (SQLException sqlex)
View Full Code Here

        workflowCase.setCreationTime(DateTools.toJavaDate(jrs.getTimestamp("dat_creationTime")));
        workflowCase.setStatus(jrs.getInt("int_status"));
        workflowCase.setCreator(
        gCaseDatabaseImpl.getWorkflowService().getUserDatabase().findParticipant(jrs.getString("vc_creator")));
        workflowCase.setPrimaryKey(new PrimaryKeyImpl(jrs.getString("vc_primaryKey")));
        WorkflowCaseContext caseContext =
          ContexManager.fetchContext(storeConfig, schemaContext, workflowCase);
        workflowCase.setCaseContext(caseContext);
        caseList.add(workflowCase);
      }
    }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.runtime.WorkflowCaseContext

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.