|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The EJB object interface of the scenario service.
| Method Summary | |
void |
clearEndStates(ScenarioContainer container)
Clear the user end states for the specified scenario container. |
void |
clearEndStates(java.lang.String scenarioId)
Clear the user end states for the specified scenario. |
java.util.Collection |
getActiveScenarios()
Get the list of active scenarios. |
java.util.Collection |
getDeployedScenarios()
Get the list of deployed scenarios. |
RulesManager |
getRulesManager()
Get a reference to the rules service this uses. |
Scenario |
getScenario(java.lang.String id)
Get the specified deployed scenario. |
java.util.Collection |
getUserEndStates(java.lang.String userId,
ScenarioContainer container,
java.util.Collection scenarioIds)
Get the list of scenario ids for which the user has reached an end state, under the specified container. |
boolean |
handleEvent(java.util.Map scenarioIdMap,
Event evt)
Handle an event by executing the rules associated with the specified scenarios. |
boolean |
handleEvent(ScenarioContainer container,
Event evt,
java.util.Collection scenarioIds)
Handle an event by executing the rules associated to the specified scenarios. |
void |
setUserEndState(java.lang.String userId,
ScenarioContainer container,
java.lang.String scenarioId)
Set that a user reached an end state in container/scenario combination. |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
| Methods inherited from interface com.bea.campaign.ServiceLocator |
locateService |
| Method Detail |
public boolean handleEvent(java.util.Map scenarioIdMap,
Event evt)
throws java.rmi.RemoteException,
javax.ejb.EJBException
scenarioIdMap - the map of ScenarioContainer to scenario ids to
execute.evt - the event.
public boolean handleEvent(ScenarioContainer container,
Event evt,
java.util.Collection scenarioIds)
throws java.rmi.RemoteException,
javax.ejb.EJBException
container - the scenario container to execute under.evt - the event.scenarioIds - the list of ids of scenarios to run this
against (empty or null for all).
public java.util.Collection getDeployedScenarios()
throws java.rmi.RemoteException,
javax.ejb.EJBException
public java.util.Collection getActiveScenarios()
throws java.rmi.RemoteException,
javax.ejb.EJBException
This will be a subset of the deployed scenarios.
public Scenario getScenario(java.lang.String id)
throws java.rmi.RemoteException,
javax.ejb.EJBException
public RulesManager getRulesManager()
throws java.rmi.RemoteException,
javax.ejb.EJBException
public java.util.Collection getUserEndStates(java.lang.String userId,
ScenarioContainer container,
java.util.Collection scenarioIds)
throws java.rmi.RemoteException,
javax.ejb.EJBException
userId - the user id.container - the ScenarioContainer.scenarioIds - the list of ids of scenarios (null or empty for all).
public void setUserEndState(java.lang.String userId,
ScenarioContainer container,
java.lang.String scenarioId)
throws java.rmi.RemoteException,
javax.ejb.EJBException
userId - the user id.container - the ScenarioContainer.scenarioId - the scenario id.
public void clearEndStates(ScenarioContainer container)
throws java.rmi.RemoteException,
javax.ejb.EJBException
container - the ScenarioContainer.
public void clearEndStates(java.lang.String scenarioId)
throws java.rmi.RemoteException,
javax.ejb.EJBException
scenarioId - the scenario id.
|
© 2002 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||