com.ibm.commerce.tools.contract.beans
Class CustomPricingTCDataBean

java.lang.Object
  |
  +--com.ibm.commerce.tools.contract.beans.CustomPricingTCDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class CustomPricingTCDataBean
extends java.lang.Object
implements SmartDataBean

Retrieve all the data associated with a Fixed Pricing Term and Condition Set the contract and language identifiers in order to populate the bean.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ibm.commerce.beans. SmartDataBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
CustomPricingTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
          Construct an CustomPricingTCDataBean from an existing contract identifier Find the Fixed Pricing terms and conditions in the contract
 
Method Summary
  CommandContext getCommandContext()
          Returns the current command's context
 java.lang.Long getContractId()
          Get the contract identifier for the contract this term and condition is in
 java.lang.String getCustomPricingReferenceNumber()
          Get 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()
          Get the language identifier in which the data was loaded
 java.lang.String[] getOfferId()
          Get the identifiers of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMaximumPurchaseQuantity()
          Get the maximum purchase quantity of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMemberDN()
          Get the member distinguished name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMemberGroupDN()
          Get the member group distinguished name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMemberGroupName()
          Get the member group name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMemberGroupType()
          Get the member group type of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMemberType()
          Get the member type of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferMinimumPurchaseQuantity()
          Get the minimum purchase quantity of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferPrecedence()
          Get the precedence of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferPriceCurrency()
          Get the currency of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferPriceValue()
          Get the price of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferPublished()
          Get the published state of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferQuantityUnit()
          Get the inventory of the products in the fixed pricing term and conditions
 java.lang.String[] getOfferSkuNumber()
          Get the skus of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListDescription()
          Get the description of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListId()
          Get the identifier of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListMemberDN()
          Get the member distinguished name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListMemberGroupDN()
          Get the member group distinguished name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListMemberGroupName()
          Get the member group name of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListMemberGroupType()
          Get the member group type of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListMemberType()
          Get the type of the owner of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListName()
          Get the names of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListPrecedence()
          Get the precedence of the products in the fixed pricing term and conditions
 java.lang.String[] getPriceListReferenceNumber()
          Get the reference numbers of the fixed pricing term and conditions
 java.lang.String[] getPriceListType()
          Get the types of the fixed pricing term and conditions
  TypedProperty getRequestProperties()
          Get the request properties
 java.lang.String getXmlDefinition()
          Get the XML definition of the fixed pricing term and condition
 void populate()
          Populates the databean with data elements.
 void setCommandContext( CommandContext newICommandContext)
          Set the command context
 void setRequestProperties( TypedProperty param)
          Set the requestProperties associated with the data bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomPricingTCDataBean

public CustomPricingTCDataBean(java.lang.Long newContractId,
                               java.lang.Integer newLangId)
Construct an CustomPricingTCDataBean from an existing contract identifier Find the Fixed Pricing terms and conditions in the contract
Parameters:
newContractId - Long An existing contract identifier
newLangId - Integer The language identifier for which language to retrieve the data
Method Detail

getCommandContext

public CommandContext getCommandContext()
Returns the current command's context
Specified by:
getCommandContext in interface SmartDataBean
Returns:
com.ibm.commerce.command.CommandContext

getContractId

public java.lang.Long getContractId()
Get the contract identifier for the contract this term and condition is in
Returns:
Long

getCustomPricingReferenceNumber

public java.lang.String getCustomPricingReferenceNumber()
Get the reference number of the fixed price term and condition
Returns:
String[]

getDelegate

public com.ibm.commerce.security.Protectable getDelegate()
                                                  throws java.lang.Exception
Returns the access control delegate of this data bean.
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception

getLanguageId

public java.lang.String getLanguageId()
Get the language identifier in which the data was loaded
Returns:
String

getOfferId

public java.lang.String[] getOfferId()
Get the identifiers of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMaximumPurchaseQuantity

public java.lang.String[] getOfferMaximumPurchaseQuantity()
Get the maximum purchase quantity of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMemberDN

public java.lang.String[] getOfferMemberDN()
Get the member distinguished name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMemberGroupDN

public java.lang.String[] getOfferMemberGroupDN()
Get the member group distinguished name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMemberGroupName

public java.lang.String[] getOfferMemberGroupName()
Get the member group name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMemberGroupType

public java.lang.String[] getOfferMemberGroupType()
Get the member group type of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMemberType

public java.lang.String[] getOfferMemberType()
Get the member type of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferMinimumPurchaseQuantity

public java.lang.String[] getOfferMinimumPurchaseQuantity()
Get the minimum purchase quantity of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferPrecedence

public java.lang.String[] getOfferPrecedence()
Get the precedence of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferPriceCurrency

public java.lang.String[] getOfferPriceCurrency()
Get the currency of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferPriceValue

public java.lang.String[] getOfferPriceValue()
Get the price of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferPublished

public java.lang.String[] getOfferPublished()
Get the published state of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferQuantityUnit

public java.lang.String[] getOfferQuantityUnit()
Get the inventory of the products in the fixed pricing term and conditions
Returns:
String[]

getOfferSkuNumber

public java.lang.String[] getOfferSkuNumber()
Get the skus of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListDescription

public java.lang.String[] getPriceListDescription()
Get the description of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListId

public java.lang.String[] getPriceListId()
Get the identifier of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListMemberDN

public java.lang.String[] getPriceListMemberDN()
Get the member distinguished name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListMemberGroupDN

public java.lang.String[] getPriceListMemberGroupDN()
Get the member group distinguished name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListMemberGroupName

public java.lang.String[] getPriceListMemberGroupName()
Get the member group name of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListMemberGroupType

public java.lang.String[] getPriceListMemberGroupType()
Get the member group type of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListMemberType

public java.lang.String[] getPriceListMemberType()
Get the type of the owner of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListName

public java.lang.String[] getPriceListName()
Get the names of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListPrecedence

public java.lang.String[] getPriceListPrecedence()
Get the precedence of the products in the fixed pricing term and conditions
Returns:
String[]

getPriceListReferenceNumber

public java.lang.String[] getPriceListReferenceNumber()
Get the reference numbers of the fixed pricing term and conditions
Returns:
String[]

getPriceListType

public java.lang.String[] getPriceListType()
Get the types of the fixed pricing term and conditions
Returns:
String[]

getRequestProperties

public TypedProperty getRequestProperties()
Get the request properties
Specified by:
getRequestProperties in interface InputDataBean
Returns:
null

getXmlDefinition

public java.lang.String getXmlDefinition()
Get the XML definition of the fixed pricing term and condition
Returns:
String

populate

public void populate()
              throws java.lang.Exception
Description copied from interface: SmartDataBean
Populates the databean with data elements.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception - if there is a problem populating the databean with data.

setCommandContext

public void setCommandContext(CommandContext newICommandContext)
Set the command context
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
newICommandContext - com.ibm.commerce.command.CommandContext

setRequestProperties

public void setRequestProperties(TypedProperty param)
Description copied from interface: InputDataBean
Set the requestProperties associated with the data bean. If the requestProperties is null when the activate method on the DataBeanManager is invoked, the DataBeanManager sets the request properties based on the request properties set in the request.
Specified by:
setRequestProperties in interface InputDataBean