org.apache.agila.services
Interface BusinessProcessService

All Known Implementing Classes:
AbstractBusinessProcessService, BusinessProcessServiceImpl, BusinessProcessServiceImpl, BusinessProcessServiceImpl

public interface BusinessProcessService

Manages business processes (workflow graphs)

Version:
$Id: $
Author:
Geir Magnusson Jr.

Method Summary
 BusinessProcessID addGraph(BusinessProcess graph)
          Adds a new graph to the system, returning the ID assigned to that graph.
 BusinessProcessID addGraph(java.lang.String xmlDocument)
           
 java.util.List getCurrentProcessInfos()
           
 BusinessProcess getGraphByID(BusinessProcessID id)
          Returns a BusinessProcess for the given id.
 BusinessProcessID getGraphIDByName(java.lang.String name)
           
 BusinessProcessInfo getInfoByID(BusinessProcessID id)
          Returns a BusinessProcessInfo object for the given id
 

Method Detail

addGraph

BusinessProcessID addGraph(BusinessProcess graph)
Adds a new graph to the system, returning the ID assigned to that graph. The business process must (right now) have a unique name

Parameters:
graph -

addGraph

BusinessProcessID addGraph(java.lang.String xmlDocument)

getGraphByID

BusinessProcess getGraphByID(BusinessProcessID id)
Returns a BusinessProcess for the given id. Note that the BusinessProcess includes activity graphs, and may not be serilizable. For serializable information, use getInfoByID()

Parameters:
id -
Returns:

getInfoByID

BusinessProcessInfo getInfoByID(BusinessProcessID id)
Returns a BusinessProcessInfo object for the given id

Parameters:
id -
Returns:

getGraphIDByName

BusinessProcessID getGraphIDByName(java.lang.String name)

getCurrentProcessInfos

java.util.List getCurrentProcessInfos()


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.