Package org.huihoo.workflow.xpdl.event

Examples of org.huihoo.workflow.xpdl.event.WorkflowActivityEvent


    throws WorkflowException
  {
    log.debug("[accept_core] workitem: " + workflowWork.getInfo());

    WorkflowActivity activity = workflowWork.getWorkflowActivity();
    WorkflowActivityEvent event = new WorkflowActivityEvent(workflowWork, WorkflowActivityEvent.WORK_ACCEPT);
    WorkflowActivityListener[] listeners = activity.getWorkflowActivityListeners();
    for (int i = 0; i < listeners.length; ++i)
    {
      listeners[i].beforeAccepted(event);
    }
View Full Code Here


    throws WorkflowException, ScriptException
  {
    log.debug("[dispatch_core] workitem: " + workflowWork.getInfo());

    WorkflowActivity workflowActivity = workflowWork.getWorkflowActivity();
    WorkflowActivityEvent event = new WorkflowActivityEvent(workflowWork, WorkflowActivityEvent.WORK_DISPATCH);
    WorkflowActivityListener[] listeners = workflowActivity.getWorkflowActivityListeners();
    for (int i = 0; i < listeners.length; ++i)
    {
      listeners[i].beforeDispatched(event);
    }
View Full Code Here

    throws WorkflowException
  {
    log.debug("[revert_core] workitem: " + workflowWork.getInfo());

    WorkflowActivity activity = workflowWork.getWorkflowActivity();
    WorkflowActivityEvent event = new WorkflowActivityEvent(workflowWork, WorkflowActivityEvent.WORK_REVERT);
    WorkflowActivityListener[] listeners = activity.getWorkflowActivityListeners();
    for (int i = 0; i < listeners.length; ++i)
    {
      listeners[i].beforeReverted(event);
    }
View Full Code Here

    throws WorkflowException
  {
    log.debug("[fetch_core] workitem: " + workflowWork.getInfo());

    WorkflowActivity activity = workflowWork.getWorkflowActivity();
    WorkflowActivityEvent event = new WorkflowActivityEvent(workflowWork, WorkflowActivityEvent.WORK_FETCH);
    WorkflowActivityListener[] listeners = activity.getWorkflowActivityListeners();
    for (int i = 0; i < listeners.length; ++i)
    {
      listeners[i].beforeFetched(event);
    }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.xpdl.event.WorkflowActivityEvent

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.