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.
|
emptyString
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.
|
getDelegate
fulfills, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
public static final java.lang.String COPYRIGHT
public PriceOverrideReasonListDataBean()
public PriceOverrideReasonListDataBean(java.lang.Integer aStoreId)
aStoreId
- public PriceOverrideReasonListDataBean(java.lang.Integer aStoreId, java.lang.Integer aLanguageId)
aStoreId
- aLanguageId
- public void populate() throws java.lang.Exception
populate()
method.
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
setDataBeanKeyLanguageId(Integer)
,
setDataBeanKeyPrcOrsnId(Integer)
,
setDataBeanKeyReasonCode(String)
,
setDataBeanKeyStoreId(Integer)
public void populateOverrideReasons() throws java.lang.Exception
java.lang.Exception
public PriceOverrideReasonDataBean[] getDataBeansByStore(java.lang.Integer aStoreId)
aStoreId
- Integerpublic PriceOverrideReasonDataBean[] getDataBeans()
public java.util.HashMap getOverrideReasonsByStoreAndLanguage()
public void setDataBeanKeyLanguageId(java.lang.Integer aLanguageId)
setDataBeanKeyLanguageId
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsInputDataBean
aLanguageId
- IntegerPriceOverrideReasonsInputDataBean.setDataBeanKeyLanguageId(java.lang.Integer)
public void setDataBeanKeyPrcOrsnId(java.lang.Integer aPrcOrsnId) throws java.lang.Exception
setDataBeanKeyPrcOrsnId
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsInputDataBean
aPrcOrsnId
- Integerjava.lang.Exception
PriceOverrideReasonsInputDataBean.setDataBeanKeyLanguageId(java.lang.Integer)
public java.lang.Integer getDataBeanKeyPrcorsnId()
getDataBeanKeyPrcorsnId
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsSmartDataBean
PriceOverrideReasonsSmartDataBean.getDataBeanKeyPrcorsnId()
public java.lang.Integer getDataBeanKeyLanguageId()
getDataBeanKeyLanguageId
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsSmartDataBean
PriceOverrideReasonsSmartDataBean.getDataBeanKeyLanguageId()
public void setDataBeanKeyStoreId(java.lang.Integer aStoreId)
setDataBeanKeyStoreId
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsInputDataBean
aStoreId
- IntegerPriceOverrideReasonsInputDataBean.setDataBeanKeyStoreId(java.lang.Integer)
public java.lang.Integer getDataBeanKeyStoreId()
PriceOverrideReasonsInputDataBean.setDataBeanKeyStoreId(java.lang.Integer)
public void setDataBeanKeyReasonCode(java.lang.String aCode)
setDataBeanKeyReasonCode
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsInputDataBean
aCode
- IntegerPriceOverrideReasonsInputDataBean.setDataBeanKeyReasonCode(java.lang.String)
public java.lang.String getDataBeanKeyReasonCode()
getDataBeanKeyReasonCode
in interface com.ibm.commerce.ordermanagement.beans.PriceOverrideReasonsSmartDataBean
PriceOverrideReasonsSmartDataBean.getDataBeanKeyReasonCode()
public void setRequestProperties(TypedProperty aRequestProperty) throws java.lang.Exception
setRequestProperties
in interface InputDataBean
setRequestProperties
in class InputDataBeanImpl
aRequestProperty
- TypedPropertyjava.lang.Exception
- whenever an error occursInputDataBean.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
getRequestProperties
in class InputDataBeanImpl
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
getCommandContext
in class SmartDataBeanImpl
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
setCommandContext
in class SmartDataBeanImpl
aCommandContext
- com.ibm.commerce.command.CommandContext