org.apache.fulcrum.osworkflow
Class WorkflowServiceFacade

java.lang.Object
  extended byorg.apache.fulcrum.osworkflow.WorkflowServiceFacade

public class WorkflowServiceFacade
extends java.lang.Object

This is a Facade class for WorkflowService. This class provides static methods that call related methods of the implementation of the WorkflowService used by the System.

Version:
$Id: WorkflowServiceFacade.java 535465 2007-05-05 06:58:06Z tv $

Constructor Summary
WorkflowServiceFacade()
           
 
Method Summary
static Workflow retrieveWorkflow(java.lang.String caller)
          Retrives a workflow based on the caller
static long[] retrieveWorkflows(java.lang.String caller, java.lang.String status)
          For a specific caller and status, return all the workflows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowServiceFacade

public WorkflowServiceFacade()
Method Detail

retrieveWorkflow

public static Workflow retrieveWorkflow(java.lang.String caller)
Retrives a workflow based on the caller


retrieveWorkflows

public static long[] retrieveWorkflows(java.lang.String caller,
                                       java.lang.String status)
                                throws WorkflowException
For a specific caller and status, return all the workflows.

Throws:
WorkflowException


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.