public class PriceOverrideReasonDataBean extends com.ibm.commerce.ordermanagement.beansrc.PriceOverrideReasonDataBeanBase implements InputDataBean, SmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
PriceOverrideReasonDataBean()
PriceOverrideOrdersDataBean constructor .
|
PriceOverrideReasonDataBean(PriceOverrideReasonAccessBean aabPriceOverride)
Constructs an PriceOverrideReasonDataBean from an PriceOverrideReasonAccessBean by
extracting the Order EJB reference from the PriceOverrideReasonAccessBean.
|
PriceOverrideReasonDataBean(PriceOverrideReasonAccessBean aabPriceOverride,
CommandContext aCommandContext)
Constructs an PriceOverrideReasonDataBean from an PriceOverrideReasonAccessBean by
extracting the Order EJB reference from the PriceOverrideOrdersAccessBean and setting the commandContext
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
This method returns the command context
|
java.lang.Integer |
getDataBeanKeyLanguageId()
This method returns the databean key: LanguageId from the CommandContext.
|
java.lang.String |
getDescription()
This method gets the description from the PriceOverrideReasonDescription with a language id from the context.
|
TypedProperty |
getRequestProperties()
This method returns the request property set within this bean.
|
void |
populate()
This method is used to populate the PriceOverrideReasonDataBean.
|
void |
setCommandContext(CommandContext context)
This method sets the CommandContext.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties within this bean.
|
getDelegate
findByStore, getCode, getDescription, getEntity, getMarkForDelete, getPriceOverrideReasonId, getStoreEntityId, instantiateEntity, setCode, setInitKey_priceOverrideReasonId, setMarkForDelete, setPriceOverrideReasonId, setStoreEntityId
public static final java.lang.String COPYRIGHT
public PriceOverrideReasonDataBean()
public PriceOverrideReasonDataBean(PriceOverrideReasonAccessBean aabPriceOverride, CommandContext aCommandContext)
aabPriceOverride
- PriceOverrideReasonAccessBeanaCommandContext
- Command Contextpublic PriceOverrideReasonDataBean(PriceOverrideReasonAccessBean aabPriceOverride)
aabPriceOverride
- PriceOverrideReasonAccessBeanpublic CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
context
- CommandContextpublic TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface InputDataBean
aRequestProperties
- com.ibm.commerce.datatype.TypedPropertypublic void populate()
populate
in interface SmartDataBean
java.lang.Exception
public java.lang.String getDescription()
public java.lang.Integer getDataBeanKeyLanguageId()