public class ReferralDataBean extends ReferralDataBeanBase implements ReferralInputDataBean, ReferralSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
POLICY_COMMAND_BATCH_AVAILABILITY
batch availability request policy command
|
static java.lang.String |
POLICY_COMMAND_ORDER_TRANSFER
order transfer request policy command
|
static java.lang.String |
POLICY_COMMAND_QUOTATION
quotation request policy command
|
static java.lang.String |
POLICY_COMMAND_SHOPCART_TRANSFER
shopcart transfer request policy command
|
static java.lang.String |
POLICY_PARAMETER_AUTHENTICATION
a string that indicates whether userid and password are required
|
static java.lang.String |
POLICY_PARAMETER_BACKORDERS
are orders with items not in inventory allowed
|
static java.lang.String |
POLICY_PARAMETER_ENABLED
a string that indicates whether this request is supported
|
static java.lang.String |
POLICY_PARAMETER_IDENTITY
the unique identifier
|
static java.lang.String |
POLICY_PARAMETER_TIMEOUT
the maximum time to wait for the request to return
|
static java.lang.String |
POLICY_PARAMETER_UOMSTANDARD
the UOM standard supported
|
Constructor and Description |
---|
ReferralDataBean() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBackOrders()
Returns whether orders with items which are not in inventory are allowed.
|
boolean |
getBatchAvailabilityRequestAuthenticationRequired()
Returns whether userid and password are required for batch availability requests.
|
boolean |
getBatchAvailabilityRequestEnabled()
Returns whether the batch availability request is available in this store.
|
int |
getBatchAvailabilityRequestTimeout()
Returns the maximum amount of time to wait for a response to a batch availability request.
|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.String |
getDataBeanKeyContractId()
Gets the contract ID.
|
java.lang.String |
getDataBeanKeyStoreId()
Gets the store ID.
|
java.lang.String |
getIdentifier()
Gets the store interface ID.
|
boolean |
getOrderRequestAuthenticationRequired()
Returns whether userid and password are required for order transfer requests.
|
boolean |
getOrderRequestEnabled()
Returns whether the order transfer request is available in this store.
|
int |
getOrderRequestTimeout()
Returns the maximum amount of time to wait for a response to an order transfer request.
|
boolean |
getQuoteRequestAuthenticationRequired()
Returns whether userid and password are required for quotation requests.
|
boolean |
getQuoteRequestEnabled()
Returns whether the quotation request is available in this store.
|
int |
getQuoteRequestTimeout()
Returns the maximum amount of time to wait for a response to a quotation request.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request property set within this bean.
|
int |
getRequestTimeout()
Returns the maximum amount of time to wait for a response to a request.
|
boolean |
getShopcartRequestAuthenticationRequired()
Returns whether userid and password are required for shopcart transfer requests.
|
boolean |
getShopcartRequestEnabled()
Returns whether the shopcart transfer request is available in this store.
|
int |
getShopcartRequestTimeout()
Returns the maximum amount of time to wait for a response to a shopcart transfer request.
|
java.lang.String |
getUomStandard()
Returns the UOM standard.
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this bean.
|
void |
setDataBeanKeyContractId(java.lang.Long aContractId)
Sets the contract in which to find the ReferralInterfaceTC information.
|
void |
setDataBeanKeyStoreId(java.lang.Integer aStoreId)
Set the store in which to find the ReferralInterfaceTC information.
|
void |
setDataBeanKeyStoreId(java.lang.String aStoreId)
Set the store in which to find the ReferralInterfaceTC information.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this bean.
|
getDelegate
public static final java.lang.String COPYRIGHT
public static final java.lang.String POLICY_COMMAND_BATCH_AVAILABILITY
public static final java.lang.String POLICY_COMMAND_ORDER_TRANSFER
public static final java.lang.String POLICY_COMMAND_QUOTATION
public static final java.lang.String POLICY_COMMAND_SHOPCART_TRANSFER
public static final java.lang.String POLICY_PARAMETER_AUTHENTICATION
public static final java.lang.String POLICY_PARAMETER_BACKORDERS
public static final java.lang.String POLICY_PARAMETER_ENABLED
public static final java.lang.String POLICY_PARAMETER_IDENTITY
public static final java.lang.String POLICY_PARAMETER_TIMEOUT
public static final java.lang.String POLICY_PARAMETER_UOMSTANDARD
public boolean getBackOrders()
getBackOrders
in interface ReferralSmartDataBean
public boolean getBatchAvailabilityRequestAuthenticationRequired()
getBatchAvailabilityRequestAuthenticationRequired
in interface ReferralSmartDataBean
public boolean getBatchAvailabilityRequestEnabled()
getBatchAvailabilityRequestEnabled
in interface ReferralSmartDataBean
public int getBatchAvailabilityRequestTimeout()
getBatchAvailabilityRequestTimeout
in interface ReferralSmartDataBean
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public java.lang.String getDataBeanKeyContractId()
getDataBeanKeyContractId
in interface ReferralSmartDataBean
public java.lang.String getDataBeanKeyStoreId()
getDataBeanKeyStoreId
in interface ReferralSmartDataBean
public java.lang.String getIdentifier()
getIdentifier
in interface ReferralSmartDataBean
public boolean getOrderRequestAuthenticationRequired()
getOrderRequestAuthenticationRequired
in interface ReferralSmartDataBean
public boolean getOrderRequestEnabled()
getOrderRequestEnabled
in interface ReferralSmartDataBean
public int getOrderRequestTimeout()
getOrderRequestTimeout
in interface ReferralSmartDataBean
public boolean getQuoteRequestAuthenticationRequired()
getQuoteRequestAuthenticationRequired
in interface ReferralSmartDataBean
public boolean getQuoteRequestEnabled()
getQuoteRequestEnabled
in interface ReferralSmartDataBean
public int getQuoteRequestTimeout()
getQuoteRequestTimeout
in interface ReferralSmartDataBean
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public int getRequestTimeout()
getRequestTimeout
in interface ReferralSmartDataBean
public boolean getShopcartRequestAuthenticationRequired()
getShopcartRequestAuthenticationRequired
in interface ReferralSmartDataBean
public boolean getShopcartRequestEnabled()
getShopcartRequestEnabled
in interface ReferralSmartDataBean
public int getShopcartRequestTimeout()
getShopcartRequestTimeout
in interface ReferralSmartDataBean
public java.lang.String getUomStandard()
getUomStandard
in interface ReferralSmartDataBean
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- The java.lang.Exception exception.public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
aCommandContext
- The command context set within this bean.public void setDataBeanKeyContractId(java.lang.Long aContractId)
setDataBeanKeyContractId
in interface ReferralInputDataBean
aContractId
- The contract ID.public void setDataBeanKeyStoreId(java.lang.Integer aStoreId)
setDataBeanKeyStoreId
in interface ReferralInputDataBean
aStoreId
- The store ID.public void setDataBeanKeyStoreId(java.lang.String aStoreId)
setDataBeanKeyStoreId
in interface ReferralInputDataBean
aStoreId
- The store ID.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
aRequestProperty
- The request property set within this bean.