public class PriceOverrideReasonListDataBean
extends com.ibm.commerce.ordermanagement.beansrc.PriceOverrideReasonListDataBeanBase
implements com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsInputDataBean, com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
PriceOverrideReasonListDataBean()
Default constructor
|
PriceOverrideReasonListDataBean(java.lang.Integer aStoreId)
overloading constructor
|
PriceOverrideReasonListDataBean(java.lang.Integer aStoreId, java.lang.Integer aLanguageId)
overloading constructor
|
Modifier and Type | Method and Description |
---|---|
CommandContext | getCommandContext()
This method returns the command context set within this bean.
|
java.lang.Integer | getDataBeanKeyLanguageId()
This method returns the databean key: LanguageId.
|
java.lang.Integer | getDataBeanKeyPrcorsnId()
This method returns the databean key: Primary Key.
|
java.lang.String | getDataBeanKeyReasonCode()
This method returns the databean key: OverrideReasonCode.
|
java.lang.Integer | getDataBeanKeyStoreId()
This method returns the databean key: StoreId.
|
PriceOverrideReasonDataBean[] | getDataBeans()
This method returns an array of PriceOverrideReasonDataBean without specifying a store.
|
PriceOverrideReasonDataBean[] | getDataBeansByStore(java.lang.Integer aStoreId)
This method returns an array of PriceOverrideReasonDataBean by store id.
|
java.util.HashMap | getOverrideReasonsByStoreAndLanguage()
This method returns the list of override reason code and descriptions This requires that both storeId and languageId have been set
|
TypedProperty | getRequestProperties()
This method returns the request property set within this bean.
|
void | populate()
This method is used to populate the PriceOverrideReasonListDataBean.
|
void | populateOverrideReasons()
This method populates the list of override reason code and the associated description for a particular language.
|
void | setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.
|
void | setDataBeanKeyLanguageId(java.lang.Integer aLanguageId)
This method sets the databean key: LanguageId.
|
void | setDataBeanKeyPrcOrsnId(java.lang.Integer aPrcOrsnId)
This method sets the databean key: PrcOrsnId .
|
void | setDataBeanKeyReasonCode(java.lang.String aCode)
This method sets the databean key: OverrideReasonCode.
|
void | setDataBeanKeyStoreId(java.lang.Integer aStoreId)
This method sets the databean key: StoreId.
|
void | setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.
|
public static final java.lang.String COPYRIGHT
public PriceOverrideReasonListDataBean()
public PriceOverrideReasonListDataBean(java.lang.Integer aStoreId)
public PriceOverrideReasonListDataBean(java.lang.Integer aStoreId, java.lang.Integer aLanguageId)
public void populate() throws java.lang.Exception
public void populateOverrideReasons() throws java.lang.Exception
public PriceOverrideReasonDataBean[] getDataBeansByStore(java.lang.Integer aStoreId)
public PriceOverrideReasonDataBean[] getDataBeans()
public java.util.HashMap getOverrideReasonsByStoreAndLanguage()
public void setDataBeanKeyLanguageId(java.lang.Integer aLanguageId)
public void setDataBeanKeyPrcOrsnId(java.lang.Integer aPrcOrsnId) throws java.lang.Exception
public java.lang.Integer getDataBeanKeyPrcorsnId()
public java.lang.Integer getDataBeanKeyLanguageId()
public void setDataBeanKeyStoreId(java.lang.Integer aStoreId)
public java.lang.Integer getDataBeanKeyStoreId()
public void setDataBeanKeyReasonCode(java.lang.String aCode)
public java.lang.String getDataBeanKeyReasonCode()
public void setRequestProperties(TypedProperty aRequestProperty) throws java.lang.Exception
public TypedProperty getRequestProperties()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext aCommandContext)