public class ShippingTCShippingChargeAdjustmentFilterDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ADJUSTMENT
Default adjustment for all in the shipping charge adjustment filter tool
|
Constructor and Description |
---|
ShippingTCShippingChargeAdjustmentFilterDataBean() |
Modifier and Type | Method and Description |
---|---|
void |
buildCatalogShippingAdjustments()
Based on the contract ID and create the Vector of CatalogShippingAdjustments Data Bean.
|
java.lang.String |
getCatalogIdentifier()
Gets the master catalog identifier for the store
|
MemberDataBean |
getCatalogOwner()
Gets the master catalog owner Member data bean for the store.
|
java.lang.String |
getCatalogReferenceNumber()
Gets the master catalog identifier for the store
|
CatalogShippingAdjustmentDataBean |
getCatalogShippingAdjustment(int i)
Gets a specific CatalogShippingAdjustment data bean.
|
java.util.Vector |
getCatalogShippingAdjustments()
Gets all the defined catalog shipping adjustments
|
com.ibm.commerce.contract.objects.ContractAccessBean |
getContractAccessBean()
Gets the contract access bean for this store
|
java.lang.Long |
getContractId()
Gets the contract ID
|
java.sql.Timestamp |
getContractLastUpdateTime()
Gets the contract last update time
|
MemberDataBean |
getContractOwner()
Gets the contract owner Member data bean for the store.
|
java.lang.Integer |
getContractState()
Gets the contract state
|
java.lang.String |
getNodeReferenceNumber(com.ibm.commerce.contract.objects.ShippingTCShippingChargeAdjustmentAccessBean ab)
Gets the node references number for this each CatalogShippingAdjustment node
The node ref could be:
"CA-xxx" or "CG-xxx" or "CE-xxx"
|
java.lang.Integer |
getStoreId()
Gets the store ID from the command context
|
java.util.Vector |
getTermConditionAccessBeans()
Gets a term and condition access beans that represent the ShippingTCShippingChargeAdjustment term and conditions that
is going to be used for this data bean.
|
java.util.Vector |
getTermConditionIds()
Gets the term and condition ID
|
java.lang.Boolean |
hasSharedCatalog()
Determines whether the current store has a shared catalog, or is using
a stand-alone partitioned catalog.
|
void |
populate()
This method is used to get the ShippingTCShippingChargeAdjustment term and condition access beans
and converts all the term and condition access bean information into a vector of CatalogShippingAdjustment data beans.
|
void |
setContractId(java.lang.Long newContractId)
Sets the contract ID
|
void |
setStoreId(java.lang.Integer newStoreId)
Sets the store ID
|
void |
setTermConditionAccessBeans(java.util.Vector newTCABs)
Sets the term and condition access bean for this data bean.
|
void |
setTermConditionIds(java.util.Vector newTermConditionIds)
Sets the term and condition ID
|
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 java.lang.String DEFAULT_ADJUSTMENT
public ShippingTCShippingChargeAdjustmentFilterDataBean()
public void buildCatalogShippingAdjustments()
public java.lang.String getCatalogIdentifier()
public MemberDataBean getCatalogOwner()
public java.lang.String getCatalogReferenceNumber()
public CatalogShippingAdjustmentDataBean getCatalogShippingAdjustment(int i)
i
- intpublic java.util.Vector getCatalogShippingAdjustments()
public com.ibm.commerce.contract.objects.ContractAccessBean getContractAccessBean()
public java.lang.Long getContractId()
public java.sql.Timestamp getContractLastUpdateTime()
public MemberDataBean getContractOwner()
public java.lang.Integer getContractState()
public java.lang.String getNodeReferenceNumber(com.ibm.commerce.contract.objects.ShippingTCShippingChargeAdjustmentAccessBean ab)
ab
- ShippingTCShippingChargeAdjustmentAccessBeanpublic java.lang.Integer getStoreId()
public java.util.Vector getTermConditionAccessBeans()
public java.util.Vector getTermConditionIds()
public java.lang.Boolean hasSharedCatalog()
public 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 setContractId(java.lang.Long newContractId)
newContractId
- Longpublic void setStoreId(java.lang.Integer newStoreId)
newStoreId
- Integerpublic void setTermConditionAccessBeans(java.util.Vector newTCABs)
newTCABs
- TermConditionAccessBeanpublic void setTermConditionIds(java.util.Vector newTermConditionIds)
newTermConditionIds
- Longpublic void trace(java.lang.String traceString)
traceString
- String