public class PromotionExecutionAgenda
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
PromotionExecutionAgenda()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void | addGroup(com.ibm.commerce.marketing.promotion.group.PromotionGroup group)
Add a promotion group to this agenda.
|
void | addPromotionPromotionPolicyRelation(Promotion promotion, PromotionPolicy policy)
Adds a relationship element which is made up of a dual (promotion, promotion policy).
|
java.util.Enumeration | getApplicablePolicies(Promotion aPromotion)
Returns all the promotion policies applicable to a promotion.
|
com.ibm.commerce.marketing.promotion.group.PromotionGroup[] | getGroups()
Returns all the groups that will be evaluated in this agenda.
|
java.sql.Timestamp | getLastUpdate()
Returns the last time anything associated with this agenda has changed.
|
java.util.Enumeration | getPromotionsGovernedByPolicy(PromotionPolicy aPromotionPolicy)
Returns all the promotions governed by a promotion policy
|
boolean | isPricePresent()
Indicates if price is calculated when this template is invoked.
|
boolean | isShippingChargePresent()
Indicates if shipping charge is calculated when this template is invoked.
|
boolean | isShippingTaxPresent()
Indicates if shipping tax is calculated when this template is invoked.
|
boolean | isTaxPresent()
Indicates if tax is calculated when this template is invoked.
|
java.util.Enumeration | listPromotionPolicies()
Return all the promotion policies in this agenda.
|
java.util.Enumeration | listPromotions()
Return all the promotions in this agenda
|
void | removePromotionPromotionPolicyRelation(Promotion promotion, PromotionPolicy policy)
Removes a relationship element of (promotion, promotion policy) dual.
|
void | setLastUpdate(java.sql.Timestamp timestamp)
Sets the last time anything associated with this agenda has changed.
|
void | setPricePresent(boolean b)
Sets the flag value that tells whether or not price is calculated at the time this template is invoked.
|
void | setShippingChargePresent(boolean b)
Sets the flag value that tells whether or not shipping charge is calculated at the time this template is invoked.
|
void | setShippingTaxPresent(boolean b)
Sets the flag value that tells whether or not shipping tax is calculated at the time this template is invoked.
|
void | setTaxPresent(boolean b)
Sets the flag value that tells whether or not tax is calculated at the time this template is invoked.
|
java.lang.String | toString() |
public static final java.lang.String COPYRIGHT
public java.util.Enumeration getApplicablePolicies(Promotion aPromotion)
public java.util.Enumeration getPromotionsGovernedByPolicy(PromotionPolicy aPromotionPolicy)
public java.util.Enumeration listPromotions()
public java.util.Enumeration listPromotionPolicies()
public void addPromotionPromotionPolicyRelation(Promotion promotion, PromotionPolicy policy)
public void removePromotionPromotionPolicyRelation(Promotion promotion, PromotionPolicy policy)
public com.ibm.commerce.marketing.promotion.group.PromotionGroup[] getGroups()
public void addGroup(com.ibm.commerce.marketing.promotion.group.PromotionGroup group)
public java.lang.String toString()
public boolean isPricePresent()
public boolean isShippingChargePresent()
public boolean isShippingTaxPresent()
public boolean isTaxPresent()
public void setPricePresent(boolean b)
public void setShippingChargePresent(boolean b)
public void setShippingTaxPresent(boolean b)
public void setTaxPresent(boolean b)
public java.sql.Timestamp getLastUpdate()
public void setLastUpdate(java.sql.Timestamp timestamp)