|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CampaignService
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. |
Method Detail |
---|
void handleEvent(Event event) throws RemoteException, EJBException
event
- the event.
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.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.Collection getDeployedCampaigns() throws RemoteException, EJBException
RemoteException
EJBException
Collection getActiveCampaigns() throws RemoteException, EJBException
RemoteException
EJBException
Campaign getCampaign(String id) throws RemoteException, EJBException
RemoteException
EJBException
void clearEndStates(String campaignId) throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.ScenarioService.clearEndStates(com.bea.campaign.ScenarioContainer)
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
ScenarioService getScenarioService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.AdService getAdService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.AdBucketService getAdBucketService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.MailService getMailService() throws RemoteException, EJBException
EJBException
- thrown on an error.
RemoteException
- thrown on a communications error.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |