Examples of doAction()


Examples of com.opensymphony.workflow.Workflow.doAction()

        inputs.put(key, value);

        // record expected calls
        workflow.setConfiguration(OsWorkflowTemplateTests.this.configuration);
        ctl.setVoidCallable();
        workflow.doAction(MOCK_INSTANCE_ID, 1, inputs);
        ctl.setVoidCallable();
        ctl.replay();

        return workflow;
      }
View Full Code Here

Examples of com.opensymphony.workflow.Workflow.doAction()

        Workflow workflow = (Workflow) ctl.getMock();
        // check that configuration is set
        workflow.setConfiguration(OsWorkflowTemplateTests.this.configuration);

        // check that doAction is called as expected
        workflow.doAction(MOCK_INSTANCE_ID, actionId, inputs);
        ctl.replay();
        return workflow;
      }
    };
  }
View Full Code Here

Examples of com.opensymphony.workflow.basic.BasicWorkflow.doAction()

    long id = Long.parseLong(request.getParameter("id"));

    String doString = request.getParameter("do");
    if (doString != null && !doString.equals("")) {
        int action = Integer.parseInt(doString);
        wf.doAction(id, action, Collections.EMPTY_MAP);
    }


    int[] actions = wf.getAvailableActions(id);
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.dynamic.EndElementAction.doAction()

    public void endElement(
            DynamicProcess dynamicProcess, ExpandedName element, Object object)
            throws SAXException {

        EndElementAction action = (EndElementAction) object;
        action.doAction(dynamicProcess);
    }
}
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.dynamic.EndElementAction.doAction()

    protected void endElementImpl(
            DynamicProcess dynamicProcess, ExpandedName element, Object object)
            throws SAXException {

        EndElementAction action = (EndElementAction) object;
        action.doAction(dynamicProcess);
    }

}
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.dynamic.EndElementAction.doAction()

            DynamicProcess dynamicProcess, ExpandedName expandedName, Object o)
            throws SAXException {

        // Perform the action.
        EndElementAction action = (EndElementAction) o;
        action.doAction(dynamicProcess);
    }

    /**
     * Parse and evaluate the expression and return the result as a sequence.
     *
 
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.dynamic.EndElementAction.doAction()

    // javadoc inherited from interface
    public void endElement(DynamicProcess dynamicProcess, ExpandedName element,
                           Object object) throws SAXException {
        // Perform the action.
        EndElementAction action = (EndElementAction) object;
        action.doAction(dynamicProcess);
    }
}
View Full Code Here

Examples of com.volantis.xml.pipeline.sax.dynamic.EndElementAction.doAction()

    public void endElement(DynamicProcess dynamicProcess, ExpandedName element,
                           Object object) throws SAXException {

        // Perform the action.
        EndElementAction action = (EndElementAction) object;
        action.doAction(dynamicProcess);
    }
   
    /**
     * Return a Period based on the specified timeve value based on
     * following algorithm:
View Full Code Here

Examples of io.teknek.intravert.action.Action.doAction()

    for (int i = 0; i < request.getOperations().size(); i++) {
      Operation operation = null;
      try {
        operation = request.getOperations().get(i);
        Action action = actionFatory.findAction(operation.getType());
        action.doAction(operation, response, requestContext, application);
      } catch (RuntimeException ex) {
        response.setExceptionId(operation.getId());
        response.setExceptionMessage(ex.getMessage());
        ex.printStackTrace();
        break;
View Full Code Here

Examples of jsynoptic.base.ContextualActionProvider.doAction()

          setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
        } else {
          String[] s = p.getActions(selX,selY,getElementContainer().getSelection(),ContextualActionProvider.MOUSE_OVER_CONTEXT);
          if (s!=null) {
            for (int i = 0; i<s.length; ++i) {
              p.doAction(selX,selY,getElementContainer().getSelection(),s[i], null);
            }
          }
        }
      }
      if (isLink) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.