public class CatalogShippingAdjustmentDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static int |
FILTER_TYPE_CATALOG
Catalog shipping adjustment data bean that represents a Catalog node (the master catalog)
|
static int |
FILTER_TYPE_CATEGORY
Catalog shipping adjustment data bean that represents a Category node
|
static int |
FILTER_TYPE_CATENTRY
Catalog shipping adjustment data bean that represents a Catentry node
|
static java.lang.String[] |
FILTER_TYPE_PREFIXES
Catalog shipping adjustment data bean that prefixes (non-translatable) that are
used internally in the JavaScript object JROM
|
Constructor and Description |
---|
CatalogShippingAdjustmentDataBean() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.ibm.commerce.contract.objects.ShippingTCShippingChargeAdjustmentAccessBean ab)
Adds one term and condition to this node data bean.
|
java.lang.String |
getFilterType()
Gets the filter type for this filter
|
java.lang.String |
getNodeReferenceNumber()
Gets the node reference number for this filter
|
java.lang.String |
getReferenceNumber()
Gets the reference number for this filter
|
java.lang.Long |
getReferenceNumberL()
Gets the long representation of the reference number for this filter
|
ShippingChargeAdjustmentDataBean |
getShippingChargeAdjustmentDataBean(int i)
Gets the ShippingChargeAdjustmentDataBean from the vector by index i.
|
java.util.Vector |
getShippingChargeAdjustmentDataBeans()
Gets all the catalog shipping adjustment terms and conditions that are related to this node.
|
boolean |
isFilterType(int filterTypeArg)
Determines whether the filter type of this filter is of the specified type
|
void |
populate()
This method is the main body of this data bean and is executed when the bean is activated.
|
void |
setFilterType(int newFilterType)
Sets the filter type by int directly.
|
void |
setFilterType(java.lang.String newFilterType)
Sets the filter types for this filter.This setup might be from the user interface.
|
void |
setReferenceNumber(java.lang.String newReferenceNumber)
Sets the reference number for this filter.
|
void |
setShippingChargeAdjustmentDataBeans(java.util.Vector newDataBeans)
Sets all the catalog shipping adjustment terms and conditions for this node.
|
java.lang.String |
toString()
Converts this data bean to a readable string representation for debugging purposes.
|
void |
trace(java.lang.String traceString)
Outputs a line of trace if trace mode is true
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final int FILTER_TYPE_CATALOG
public static final int FILTER_TYPE_CATEGORY
public static final int FILTER_TYPE_CATENTRY
public static final java.lang.String[] FILTER_TYPE_PREFIXES
public void add(com.ibm.commerce.contract.objects.ShippingTCShippingChargeAdjustmentAccessBean ab)
ab
- the term and condition access beanpublic java.lang.String getFilterType()
public java.lang.String getNodeReferenceNumber()
public java.lang.String getReferenceNumber()
public java.lang.Long getReferenceNumberL()
public ShippingChargeAdjustmentDataBean getShippingChargeAdjustmentDataBean(int i)
i
- public java.util.Vector getShippingChargeAdjustmentDataBeans()
public boolean isFilterType(int filterTypeArg)
filterTypeArg
- intpublic void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
public void setFilterType(int newFilterType)
newFilterType
- public void setFilterType(java.lang.String newFilterType)
newFilterType
- Stringpublic void setReferenceNumber(java.lang.String newReferenceNumber)
newReferenceNumber
- Stringpublic void setShippingChargeAdjustmentDataBeans(java.util.Vector newDataBeans)
newDataBeans
- public java.lang.String toString()
toString
in class java.lang.Object
public void trace(java.lang.String traceString)
traceString
- String