Novell exteNd
Director 5.2 API

com.sssw.wf.client
Class EboFactory

java.lang.Object
 |
 +--com.sssw.wf.client.EboFactory
All Implemented Interfaces:
Serializable

public class EboFactory
extends Object
implements Serializable

The workflow client factory class. This factory generates client delegates for accessing the workflow api.

See Also:
Serialized Form

Constructor Summary
EboFactory()
           
 
Method Summary
static EbiAddressee createAddressee(String type, String addressee)
          This factory method returns an addressee.
static EbiContext createEbiContext()
          This factory method returns a workflow context.
static EbiContext createEbiContext(com.sssw.wf.client.EbiContext fwContext)
          This factory method returns a workflow context.
static EbiContext createEbiContext(com.sssw.wf.client.HttpServletRequest request, com.sssw.wf.client.HttpServletResponse response)
          This factory method returns a workflow context.
static EbiAuditDelegate getAuditDelegate()
          This factory method returns a queue audit delegate.
static EbiQueueDelegate getQueueDelegate()
          This factory method returns a workflow queue delegate.
static EbiWorkflowEngineDelegate getWorkflowEngineDelegate()
          This factory method returns a workflow engine delegate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboFactory

public EboFactory()
Method Detail

createEbiContext

public static EbiContext createEbiContext(com.sssw.wf.client.HttpServletRequest request,
                                          com.sssw.wf.client.HttpServletResponse response)
                                   throws com.sssw.wf.client.EboFactoryException
This factory method returns a workflow context.
Parameters:
request - - HttpServletRequest
response - - HttpServletResponse
Returns:
context - a workflow context
Throws:
com.sssw.wf.client.EboFactoryException -  

createEbiContext

public static EbiContext createEbiContext()
                                   throws com.sssw.wf.client.EboFactoryException
This factory method returns a workflow context.
Returns:
context - a workflow context
Throws:
com.sssw.wf.client.EboFactoryException -  

createEbiContext

public static EbiContext createEbiContext(com.sssw.wf.client.EbiContext fwContext)
                                   throws com.sssw.wf.client.EboFactoryException
This factory method returns a workflow context.
Parameters:
context - - a framework context
Returns:
context - a workflow context
Throws:
com.sssw.wf.client.EboFactoryException -  

createAddressee

public static EbiAddressee createAddressee(String type,
                                           String addressee)
This factory method returns an addressee.
Parameters:
type - - the type of addressee (User or Role)
addressee - - the new addressee
Returns:
addressee - a workflow addressee

getWorkflowEngineDelegate

public static EbiWorkflowEngineDelegate getWorkflowEngineDelegate()
                                                           throws com.sssw.wf.client.EboFactoryException
This factory method returns a workflow engine delegate. This delegate is needed for starting processes.
Returns:
delegate - a workflow engine delegate
Throws:
com.sssw.wf.client.EboFactoryException -  

getQueueDelegate

public static EbiQueueDelegate getQueueDelegate()
                                         throws com.sssw.wf.client.EboFactoryException
This factory method returns a workflow queue delegate. This delegate is needed for accessing work to be done.
Returns:
delegate - a queue delegate
Throws:
com.sssw.wf.client.EboFactoryException -  

getAuditDelegate

public static EbiAuditDelegate getAuditDelegate()
                                         throws com.sssw.wf.client.EboFactoryException
This factory method returns a queue audit delegate. This delegate is needed for accessing queue audit data.
Returns:
delegate - an audit delegate
Throws:
com.sssw.wf.client.EboFactoryException -  

Novell exteNd
Director 5.2 API