|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.campaign.action.ActionDef
com.bea.campaign.rules.AddAdToPlaceholderActionDef
public class AddAdToPlaceholderActionDef
An action definition specific to the AddAdToPlaceholderAction.
AddAdToPlaceholderAction,
Serialized Form| Field Summary | |
|---|---|
static int |
HIGH
The "High" weight. |
static int |
HIGHEST
The "Highest" weight. |
static int |
LOW
The "Low" weight. |
static int |
LOWEST
The "Lowest" weight. |
static int |
MEDIUM
The "Medium" weight (same as NORMAL). |
static int |
NORMAL
The "Normal" weight. |
| Constructor Summary | |
|---|---|
AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery)
Constructor. |
|
AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate)
Constructor. |
|
AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate,
String clearingPolicy)
Constructor. |
|
AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery)
Constructor. |
|
AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate)
Constructor. |
|
AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate,
String clearingPolicy)
Master constructor. |
|
| Method Summary | |
|---|---|
static int |
getWeight(String weight)
Convert the "Highest"..."Lowest" weight string to a 5..1 number. |
| Methods inherited from class com.bea.campaign.action.ActionDef |
|---|
createAction, getActionParams, getActionService, getActionType, setActionParams, setActionType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int HIGHEST
public static final int HIGH
public static final int NORMAL
public static final int MEDIUM
public static final int LOW
public static final int LOWEST
| Constructor Detail |
|---|
public AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery)
placeholders - the list of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.
public AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery)
placeholders - the array of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.
public AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate)
placeholders - the array of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.ttlStr - the time-to-live for the ad query (in
"[days]:[hours]:[minutes]" format, null for none).expireDate - the absoluate expiration date for the ad query (null
for none).
public AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate)
placeholders - the collection of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.ttlStr - the time-to-live for the ad query (in
"[days]:[hours]:[minutes]" format, null for none).expireDate - the absoluate expiration date for the ad query (null
for none).
public AddAdToPlaceholderActionDef(String[] placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate,
String clearingPolicy)
placeholders - the array of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.ttlStr - the time-to-live for the ad query (in
"[days]:[hours]:[minutes]" format, null for none).expireDate - the absoluate expiration date for the ad query (null
for none).clearingPolicy - the clearing policy (either "campaign", "all", or
anything else for none).
public AddAdToPlaceholderActionDef(Collection placeholders,
String weight,
ContentQueryNode contentQuery,
String ttlStr,
com.bea.p13n.xml.schema.TimeInstant expireDate,
String clearingPolicy)
placeholders - the collection of placeholder names (Strings).weight - the ad query weight (Higest, High, Normal, Low, Lowest).contentQuery - the content query node.ttlStr - the time-to-live for the ad query (in
"[days]:[hours]:[minutes]" format, null for none).expireDate - the absoluate expiration date for the ad query (null
for none).clearingPolicy - the clearing policy (either "campaign", "all", or
anything else for none).| Method Detail |
|---|
public static int getWeight(String weight)
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||