public class CustomPricingTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
Constructor and Description |
---|
CustomPricingTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
Constructs an CustomPricingTCDataBean from an existing contract identifier
Finds the Fixed Pricing terms and conditions in the contract
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the current command's context
|
java.lang.Long |
getContractId()
Gets the contract identifier for the contract this term and condition are in
|
java.lang.String |
getCustomPricingReferenceNumber()
Gets the reference number of the fixed price term and condition
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this data bean.
|
java.lang.String |
getLanguageId()
Gets the language identifier in which the data was loaded
|
java.lang.String[] |
getOfferField1()
Gets the field1 of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferId()
Gets the identifiers of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMaximumPurchaseQuantity()
Gets the maximum purchase quantity of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMemberDN()
Gets the member distinguished name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMemberGroupDN()
Gets the member group distinguished name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMemberGroupName()
Gets the member group name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMemberGroupType()
Gets the member group type of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMemberType()
Gets the member type of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferMinimumPurchaseQuantity()
Gets the minimum purchase quantity of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferPrecedence()
Gets the precedence of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferPriceCurrency()
Gets the currency of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferPriceValue()
Gets the price of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferPublished()
Gets the published state of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferQuantityUnit()
Gets the inventory of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferReferenceNumber()
Gets the reference numbers of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getOfferSkuNumber()
Gets the skus of the products in the fixed pricing term and conditions
|
static com.ibm.commerce.order.objects.TradingPositionContainerAccessBean |
getPriceListAccessBean(java.lang.Long contractId)
Gets the price list access bean for the fixed pricing term and condition for a contract
|
java.lang.String[] |
getPriceListDescription()
Gets the description of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListId()
Gets the identifier of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListMemberDN()
Gets the member distinguished name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListMemberGroupDN()
Gets the member group distinguished name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListMemberGroupName()
Gets the member group name of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListMemberGroupType()
Gets the member group type of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListMemberType()
Gets the type of the owner of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListName()
Gets the names of the products in the fixed pricing term and conditions
|
static java.util.Vector |
getPriceListOffers(java.lang.String priceListId)
Gets the offers for the fixed pricing term and condition for a contract.
|
java.lang.String[] |
getPriceListPrecedence()
Gets the precedence of the products in the fixed pricing term and conditions
|
java.lang.String[] |
getPriceListReferenceNumber()
Gets the reference numbers of the fixed pricing term and conditions
|
static java.lang.String |
getPriceListTermcondId(java.lang.Long contractId)
Gets the term and condition ID for the fixed pricing term and condition for a contract.
|
java.lang.String[] |
getPriceListType()
Gets the types of the fixed pricing term and conditions
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the request properties
|
java.lang.String |
getXmlDefinition()
Gets the XML definition of the fixed pricing term and condition
|
void |
populate()
This method is used to retrieve the Fixed Pricing term and conditions in the contract.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
Sets the command context
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
Sets the request properties.
|
public CustomPricingTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
newContractId
- Long An existing contract identifiernewLangId
- Integer The language identifier for which language to retrieve the datapublic com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public java.lang.Long getContractId()
public java.lang.String getCustomPricingReferenceNumber()
public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public java.lang.String getLanguageId()
public java.lang.String[] getOfferField1()
public java.lang.String[] getOfferId()
public java.lang.String[] getOfferMaximumPurchaseQuantity()
public java.lang.String[] getOfferMemberDN()
public java.lang.String[] getOfferMemberGroupDN()
public java.lang.String[] getOfferMemberGroupName()
public java.lang.String[] getOfferMemberGroupType()
public java.lang.String[] getOfferMemberType()
public java.lang.String[] getOfferMinimumPurchaseQuantity()
public java.lang.String[] getOfferPrecedence()
public java.lang.String[] getOfferPriceCurrency()
public java.lang.String[] getOfferPriceValue()
public java.lang.String[] getOfferPublished()
public java.lang.String[] getOfferQuantityUnit()
public java.lang.String[] getOfferReferenceNumber()
public java.lang.String[] getOfferSkuNumber()
public static com.ibm.commerce.order.objects.TradingPositionContainerAccessBean getPriceListAccessBean(java.lang.Long contractId)
contractId
- Long An existing contract identifierpublic java.lang.String[] getPriceListDescription()
public java.lang.String[] getPriceListId()
public java.lang.String[] getPriceListMemberDN()
public java.lang.String[] getPriceListMemberGroupDN()
public java.lang.String[] getPriceListMemberGroupName()
public java.lang.String[] getPriceListMemberGroupType()
public java.lang.String[] getPriceListMemberType()
public java.lang.String[] getPriceListName()
public static java.util.Vector getPriceListOffers(java.lang.String priceListId)
priceListId
- String An existing price listpublic java.lang.String[] getPriceListPrecedence()
public java.lang.String[] getPriceListReferenceNumber()
public static java.lang.String getPriceListTermcondId(java.lang.Long contractId)
contractId
- Long An existing contract identifierpublic java.lang.String[] getPriceListType()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public java.lang.String getXmlDefinition()
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
public void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
newICommandContext
- com.ibm.commerce.command.CommandContextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
param
- com.ibm.commerce.datatype.TypedProperty