Package org.huihoo.workflow.impl.store

Examples of org.huihoo.workflow.impl.store.CaseDatabaseImpl


  {
    WorkflowActivity joinActivity = workflowTransition.getToWorkflowActivity();
    JoinType joinType = joinActivity.getJoinType();
    if (joinType != null)
    {
      CaseDatabaseImpl caseDatabaseImpl = (CaseDatabaseImpl) workflowService.getCaseDatabase();
      SpiCaseDatabase caseDatabase = caseDatabaseImpl.getWrappedObject();

      UserTransaction userTransaction = null;
      MonitorEventResult eventResult = null;
      try
      {
View Full Code Here


    log.debug("[accept] workitem: " + workItem);
 
    WorkflowActivity workflowActivity = workItem.getWorkflowActivity();
    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    WorkflowService workflowService=getCaseDatabase().getWorkflowService();
    CaseDatabaseImpl caseDatabase =(CaseDatabaseImpl) workflowService.getCaseDatabase();
    UserTransaction userTransaction = caseDatabase.getUserTransaction();
    boolean resultDone = false;
    try
    {
      resultDone =  DispatchController.accept_core(workflowService,workflowProcess,operator, caseDatabase.getWrappedObject(), userTransaction, workItem);
      userTransaction.commit();
    }
    catch (WorkflowException ex)
    {
      log.error(ex);
View Full Code Here

    WorkflowActivity workflowActivity = workItem.getWorkflowActivity();
    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    WorkflowService workflowService=getCaseDatabase().getWorkflowService();
   
    CaseDatabaseImpl caseDatabase =(CaseDatabaseImpl) workflowService.getCaseDatabase();
    UserTransaction userTransaction = caseDatabase.getUserTransaction();

    boolean resultDone = false;
    try
    {
      resultDone =  DispatchController.dispatch_core(workflowService,workflowProcess,operator, caseDatabase.getWrappedObject(), userTransaction, workItem);
      userTransaction.commit();
    }
    catch (Exception wfsex)
    {
      log.error(wfsex, wfsex);
View Full Code Here

  {
    log.debug("[revert] workitem: " + workItem );
    WorkflowActivity workflowActivity = workItem.getWorkflowActivity();
    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    WorkflowService workflowService=getCaseDatabase().getWorkflowService();
    CaseDatabaseImpl caseDatabase =(CaseDatabaseImpl) workflowService.getCaseDatabase();

    UserTransaction userTransaction = caseDatabase.getUserTransaction();
    boolean resultDone = false;
    try
    {
      resultDone =  DispatchController.revert_core(workflowService,workflowProcess,operator, caseDatabase.getWrappedObject(), userTransaction, workItem);
      userTransaction.commit();
    }
    catch (WorkflowException ex)
    {
      log.error(ex, ex);
View Full Code Here

    log.debug("[fetch] workitem: " + workItem );

    WorkflowActivity workflowActivity = workItem.getWorkflowActivity();
    WorkflowPackage workflowPackage = workflowProcess.getWorkflowPackage();
    WorkflowService workflowService=getCaseDatabase().getWorkflowService();
    CaseDatabaseImpl caseDatabase =(CaseDatabaseImpl) workflowService.getCaseDatabase();
    UserTransaction userTransaction = caseDatabase.getUserTransaction();

    boolean resultDone = false;
    try
    {
      resultDone = DispatchController.fetch_core(workflowService,workflowProcess,operator, caseDatabase.getWrappedObject(), userTransaction, workItem);
      userTransaction.commit();
    }
    catch (WorkflowException ex)
    {
      log.error(ex, ex);
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.impl.store.CaseDatabaseImpl

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.