Novell exteNd
Director 5.0 API

com.sssw.wf.client
Class EboFactory

com.sssw.wf.client.EboFactory
All Implemented Interfaces:
Serializable

public class EboFactory
implements Serializable

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()
          Returns a workflow context.
static EbiContext createEbiContext(EbiContext fwContext)
          Returns a workflow context.
static EbiContext createEbiContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns a workflow context.
static EbiAuditDelegate getAuditDelegate()
          Returns a queue audit delegate.
static EbiQueueDelegate getQueueDelegate()
          Returns a workflow queue delegate.
static EbiWorkflowEngineDelegate getWorkflowEngineDelegate()
          Returns a workflow engine delegate.
 

Constructor Detail

EboFactory

public EboFactory()
Method Detail

createEbiContext

public static EbiContext createEbiContext(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response)
                                   throws EboFactoryException
Returns a workflow context.
Parameters:
request - - HttpServletRequest
response - - HttpServletResponse
Returns:
context - a workflow context
Throws:
EboFactoryException -  

createEbiContext

public static EbiContext createEbiContext()
                                   throws EboFactoryException
Returns a workflow context.
Returns:
context - a workflow context
Throws:
EboFactoryException -  

createEbiContext

public static EbiContext createEbiContext(EbiContext fwContext)
                                   throws EboFactoryException
Returns a workflow context.
Parameters:
context - - a framework context
Returns:
context - a workflow context
Throws:
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 EboFactoryException
Returns a workflow engine delegate. This delegate is needed for starting processes.
Returns:
delegate - a workflow engine delegate
Throws:
EboFactoryException -  

getQueueDelegate

public static EbiQueueDelegate getQueueDelegate()
                                         throws EboFactoryException
Returns a workflow queue delegate. This delegate is needed for accessing work to be done.
Returns:
delegate - a queue delegate
Throws:
EboFactoryException -  

getAuditDelegate

public static EbiAuditDelegate getAuditDelegate()
                                         throws EboFactoryException
Returns a queue audit delegate. This delegate is needed for accessing queue audit data.
Returns:
delegate - an audit delegate
Throws:
EboFactoryException -  

Novell exteNd
Director 5.0 API