|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EJB object interface for the CampaignService session EJB.
Method Summary | |
void |
clearEndStates(String campaignId)
Clear all of the user end states associated to a campaign. |
Collection |
getActiveCampaigns()
Get back a list of the active Campaign objects. |
AdBucketService |
getAdBucketService()
Get a reference to the AdBucketService being used. |
AdService |
getAdService()
Get a reference to the AdService being used |
Campaign |
getCampaign(String id)
Retrieve a deployed campaign. |
Collection |
getDeployedCampaigns()
Get back a list of the deployed Campaign objects. |
MailService |
getMailService()
Get a reference to the mail service being used. |
ScenarioService |
getScenarioService()
Get a reference to the scenario service this uses. |
void |
handleEvent(Event event)
Handle an event from the event service. |
boolean |
isActive(String campaignId)
Tell if the specified campaign is currently active. |
void |
resetCampaign(String campaignId)
Reset any cached state on the specified campaign. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public void clearEndStates(String campaignId) throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.ScenarioService.clearEndStates(com.bea.campaign.ScenarioContainer)
public Collection getActiveCampaigns() throws RemoteException, EJBException
RemoteException
EJBException
public AdBucketService getAdBucketService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public AdService getAdService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public Campaign getCampaign(String id) throws RemoteException, EJBException
RemoteException
EJBException
public Collection getDeployedCampaigns() throws RemoteException, EJBException
RemoteException
EJBException
public MailService getMailService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public ScenarioService getScenarioService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public void handleEvent(Event event) throws RemoteException, EJBException
event
- the event.
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public boolean isActive(String campaignId) throws RemoteException, EJBException
isActive
in interface AdStatus
campaignId
- the campaign's unique id.
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.public void resetCampaign(String campaignId) throws RemoteException, EJBException
This will cause the Campaign to redetermine it's state the next time it's accessed.
This includes: reseting the goal achieved state.
RemoteException
EJBException
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |