Package org.fireflow.engine.taskinstance

Examples of org.fireflow.engine.taskinstance.DynamicAssignmentHandler


  /**
   * @return
   */
  public DynamicAssignmentHandler consumeCurrentDynamicAssignmentHandler() {
    DynamicAssignmentHandler handler = this.dynamicAssignmentHandler;
    this.dynamicAssignmentHandler = null;
    return handler;
  }
View Full Code Here


            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            @Override
            protected void doInTransactionWithoutResult(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    IWorkItem workItem1 = workflowSession.findWorkItemById(workItem1Id);
                    DynamicAssignmentHandler dynamicAssignmentHandler = new DynamicAssignmentHandler();
                    dynamicAssignmentHandler.setActorIdsList(actorIds);
                    dynamicAssignmentHandler.setNeedClaim(true);
                    workItem1.complete(dynamicAssignmentHandler, "");
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

            public Object doInTransaction(TransactionStatus arg0) {
                try {
                    IWorkflowSession workflowSession = runtimeContext.getWorkflowSession();
                    ITaskInstance taskInstance = workflowSession.findTaskInstanceById(taskInstanceBId);
                    DynamicAssignmentHandler dynamicHandler = new DynamicAssignmentHandler();
                    List<String> actorsList = new ArrayList<String>();
                    actorsList.add("zhangsan");
                    dynamicHandler.setActorIdsList(actorsList);
                    taskInstance.abort("AbortTaskInstance2.D",dynamicHandler);
                    return null;
                } catch (EngineException ex) {
                    Logger.getLogger(FireWorkflowEngineTest.class.getName()).log(Level.SEVERE, null, ex);
                } catch (KernelException ex) {
View Full Code Here

TOP

Related Classes of org.fireflow.engine.taskinstance.DynamicAssignmentHandler

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.