public class PriceRuleListDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean
PriceRuleDataBean
. It invokes price rule GET service to retrieve
a list of price rules which are associated with the current store and its
related stores.Constructor and Description |
---|
PriceRuleListDataBean() |
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Get the command context.
|
java.util.List |
getPriceRuleList()
Get the list of price rule logical SDO
PriceRuleType . |
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Get the request properties.
|
void |
populate()
Populate this data bean with the array of
PriceRuleDataBean . |
void |
setCommandContext(com.ibm.commerce.command.CommandContext context)
Set the command context.
|
void |
setPriceRuleList(java.util.List prList)
Set the list of price rule logical SDO
PriceRuleType . |
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty requestProperties)
Set the request properties.
|
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public java.util.List getPriceRuleList()
PriceRuleType
.PriceRuleType
.public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public void populate() throws java.lang.Exception
PriceRuleDataBean
.
It invokes price rule GET service to retrieve a list of price rules which
are associated with the current store and its related stores.populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- If there is a problem populating the data bean with data,
this is thrown.public void setCommandContext(com.ibm.commerce.command.CommandContext context)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
context
- The command context.public void setPriceRuleList(java.util.List prList)
PriceRuleType
.prList
- The list of price rule logical SDO PriceRuleType
.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty requestProperties) throws java.lang.Exception
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
requestProperties
- The request properties.java.lang.Exception
- If there is a problem when setting the request properties,
throw exception.