© 2005 BEA Systems, Inc.

com.bea.campaign.rules
Class AddAdToPlaceholderActionDef

java.lang.Object
  extended bycom.bea.campaign.action.ActionDef
      extended bycom.bea.campaign.rules.AddAdToPlaceholderActionDef
All Implemented Interfaces:
Serializable

public class AddAdToPlaceholderActionDef
extends ActionDef

An action definition specific to the AddAdToPlaceholderAction.

See Also:
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, TimeInstant expireDate)
          Constructor.
AddAdToPlaceholderActionDef(Collection placeholders, String weight, ContentQueryNode contentQuery, String ttlStr, TimeInstant expireDate, String clearingPolicy)
          Constructor.
AddAdToPlaceholderActionDef(String[] placeholders, String weight, ContentQueryNode contentQuery)
          Constructor.
AddAdToPlaceholderActionDef(String[] placeholders, String weight, ContentQueryNode contentQuery, String ttlStr, TimeInstant expireDate)
          Constructor.
AddAdToPlaceholderActionDef(String[] placeholders, String weight, ContentQueryNode contentQuery, String ttlStr, TimeInstant expireDate, String clearingPolicy)
          Master constructor.
 
Method Summary
static int getWeight(String weight)
          Convert the "Highest"..."
 
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

HIGH

public static final int HIGH
The "High" weight.

See Also:
Constant Field Values

HIGHEST

public static final int HIGHEST
The "Highest" weight.

See Also:
Constant Field Values

LOW

public static final int LOW
The "Low" weight.

See Also:
Constant Field Values

LOWEST

public static final int LOWEST
The "Lowest" weight.

See Also:
Constant Field Values

MEDIUM

public static final int MEDIUM
The "Medium" weight (same as NORMAL).

See Also:
Constant Field Values

NORMAL

public static final int NORMAL
The "Normal" weight.

See Also:
Constant Field Values
Constructor Detail

AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(Collection placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery)
Constructor.


AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(Collection placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery,
                                   String ttlStr,
                                   TimeInstant expireDate)
Constructor.


AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(Collection placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery,
                                   String ttlStr,
                                   TimeInstant expireDate,
                                   String clearingPolicy)
Constructor.


AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(String[] placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery)
Constructor.


AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(String[] placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery,
                                   String ttlStr,
                                   TimeInstant expireDate)
Constructor.


AddAdToPlaceholderActionDef

public AddAdToPlaceholderActionDef(String[] placeholders,
                                   String weight,
                                   ContentQueryNode contentQuery,
                                   String ttlStr,
                                   TimeInstant expireDate,
                                   String clearingPolicy)
Master constructor.

Method Detail

getWeight

public static int getWeight(String weight)
Convert the "Highest"..."Lowest" weight string to a 5..1 number.


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved