|
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 | ||||||||
java.lang.Object
com.bea.campaign.action.Action
com.bea.campaign.AddAdToPlaceholderAction
public class AddAdToPlaceholderAction
Action implementation to add an Ad query to the users placeholder.
This action understands the following action parameters:
ContentQueryNode.| Field Summary | |
|---|---|
static String |
AD_EXPIRATION_DATEThe name of the expiration date parameter. |
static String |
AD_QUERYThe name of adQuery action parameter. |
static String |
AD_TTLThe name of the time-to-live parameter. |
static String |
AD_WEIGHTThe name of the adWeight action parameter. |
static String |
CLEARING_POLICYThe name of the clearing policy paramter. |
static String |
PLACEHOLDERThe name of placeholder action parameter. |
static String |
REMOVEThe name of the remove action parameter. |
| Constructor Summary | |
|---|---|
AddAdToPlaceholderAction() |
|
| Method Summary | |
|---|---|
void |
init(Map params)Initialize this action from a set of action parameters. |
void |
run()Execute this action. |
String |
toString()Get string representation of this. |
| Methods inherited from class com.bea.campaign.action.Action |
|---|
getEvent, getRandom, getRequest, getScenario, getScenarioContainer, getScenarioContainerName, getScenarioId, getScenarioName, getServiceLocator, getSession, getTimestamp, getUser, getUserId, locateService, setEvent, setRandom, setRequest, setScenario, setScenarioContainer, setServiceLocator, setSession, setTimestamp, setUser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String AD_QUERY
public static final String PLACEHOLDER
public static final String AD_WEIGHT
public static final String REMOVE
public static final String AD_TTL
public static final String AD_EXPIRATION_DATE
public static final String CLEARING_POLICY
| Constructor Detail |
|---|
public AddAdToPlaceholderAction()
| Method Detail |
|---|
public void run()
throws ActionException
This will place the adQuery in the user's buckets for the named placeholders with the adWeight.
run in class ActionActionException - thrown on an error.
public void init(Map params)
throws IllegalArgumentException
See the class notes about that action parameters this action understands and requires.
This method will be invoked by the ActionService.
init in class Actionthe - action parameters.IllegalArgumentException - thrown on invalid action paramters.public String toString()
toString in class Object
|
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.