|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScenarioService
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(String scenarioId) Clear the user end states for the specified scenario. |
Collection |
getActiveScenarios() Get the list of active scenarios. |
Collection |
getDeployedScenarios() Get the list of deployed scenarios. |
RulesManager |
getRulesManager() Get a reference to the rules service this uses. |
Scenario |
getScenario(String id) Get the specified deployed scenario. |
Collection |
getUserEndStates(String userId, ScenarioContainer container, Collection scenarioIds) Get the list of scenario ids for which the user has reached an end state, under the specified container. |
boolean |
handleEvent(Map scenarioIdMap, Event evt) Handle an event by executing the rules associated with the specified scenarios. |
boolean |
handleEvent(ScenarioContainer container, Event evt, Collection scenarioIds) Handle an event by executing the rules associated to the specified scenarios. |
void |
setUserEndState(String userId, ScenarioContainer container, 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 |
---|
boolean handleEvent(Map scenarioIdMap, Event evt) throws RemoteException, javax.ejb.EJBException
scenarioIdMap
- the map of ScenarioContainer to scenario ids to execute.evt
- the event.javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.boolean handleEvent(ScenarioContainer container, Event evt, Collection scenarioIds) throws 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).javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.Collection getDeployedScenarios() throws RemoteException, javax.ejb.EJBException
javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.Collection getActiveScenarios() throws RemoteException, javax.ejb.EJBException
This will be a subset of the deployed scenarios.
javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.Scenario getScenario(String id) throws RemoteException, javax.ejb.EJBException
javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.RulesManager getRulesManager() throws RemoteException, javax.ejb.EJBException
javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.Collection getUserEndStates(String userId, ScenarioContainer container, Collection scenarioIds) throws RemoteException, javax.ejb.EJBException
userId
- the user id.container
- the ScenarioContainer.scenarioIds
- the list of ids of scenarios (null or empty for all).javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.void setUserEndState(String userId, ScenarioContainer container, String scenarioId) throws RemoteException, javax.ejb.EJBException
userId
- the user id.container
- the ScenarioContainer.scenarioId
- the scenario id.javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.void clearEndStates(ScenarioContainer container) throws RemoteException, javax.ejb.EJBException
container
- the ScenarioContainer.javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.void clearEndStates(String scenarioId) throws RemoteException, javax.ejb.EJBException
scenarioId
- the scenario id.javax.ejb.EJBException
- thrown on an error.RemoteException
- thrown on a communications error.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.