public class ItemDataBean extends ItemAccessBean implements com.ibm.commerce.catalog.beans.ItemInputDataBean, com.ibm.commerce.catalog.beans.ItemSmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: Item
Mandatory Parameters (for single row retrieval):
Some hints and tips for using this data bean are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESS_PROFILE_NAME_STOREFRONT_SEARCH
The search access profile name for storefront navigation
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
ItemDataBean()
Constructs an empty
ItemDataBean . |
ItemDataBean(CatalogEntryAccessBean abCatentry)
Constructs an
ItemDataBean from a CatalogEntryAccessBean . |
ItemDataBean(CatalogEntryAccessBean abCatEntry,
CommandContext aCommandContext)
Constructs an
ItemDataBean from a CatalogEntryAccessBean and a command context. |
ItemDataBean(ItemAccessBean abItem,
CommandContext aCommandContext)
Constructs an
ItemDataBean from an ItemAccessBean and a command context. |
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] |
getAllAttachments()
Gets all the attachments in the item.
|
java.lang.Long[] |
getApplicableContractIds()
Gets a list of applicable contract IDs for calculating the prices.
|
com.ibm.commerce.catalog.util.RangePricingData[] |
getApplicableContractPriceRanges()
Retrieve the tiered pricing information for the current item in all the applicable contracts.
|
PriceDataBean[] |
getApplicableContractPrices()
Gets a list of prices of applicable contracts for calculating the prices.
|
ContractDataBean[] |
getApplicableContracts()
Gets a list of ContractDataBean that represents applicable contracts for the item.
|
AttachmentDataBean[] |
getAttachmentsByUsage()
Get all the item attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] |
getAttachmentUsages()
Get all the attachment relation usage used in the item attachments
|
AttributeDataBean[] |
getAttributeDataBeans()
Gets a list of data beans that represent defining attributes of the product.
|
AttributeAccessBean[] |
getAttributes()
Gets a list of beans that represent attributes of the item.
|
AttributeValueDataBean[] |
getAttributeValueDataBeans()
Gets a list of the AttributeDataBeans for the item.
|
AttributeValueDataBean[] |
getAttributeValueDataBeans(java.lang.Integer argLanguageId)
Gets a list of beans that represent packages that are accessories to this item.
|
AttributeValueDataBean[] |
getAttributeValueDataBeansByAttributeUsage()
Gets a list of attribute value data beans by usage
|
AttributeValueAccessBean[] |
getAttributeValues(java.lang.Integer anLanguageId)
Gets the attribute values for the specified item, in the specified language.
|
RelatedBundleDataBean[] |
getBundleAccessories()
Gets a list of beans that represent bundles that are accessories to this item.
|
RelatedBundleDataBean[] |
getBundleAssociations()
Gets a list of beans that represent bundles that are merchandising associations for this item.
|
RelatedBundleDataBean[] |
getBundleCrossSells()
Gets a list of beans that represent bundles that are cross-sells to this item.
|
RelatedBundleDataBean[] |
getBundleUpSells()
Gets a list of beans that represent bundles that are up-sells to this item.
|
PriceDataBean |
getCalculatedContractPrice()
Gets a PriceDataBean that represents the calculated contract price for the item.
|
PriceDataBean |
getCalculatedContractPrice(boolean isEntitledNeeded)
Gets a PriceDataBean that represents the calculated contract price for the item.
|
PriceDataBean |
getCalculatedPrice()
Gets a PriceDataBean that represents the the calculated price for the item.
|
CommandContext |
getCommandContext()
Gets the current command's context passed in at run time.
|
AttributeAccessBean[] |
getDefiningAttributes()
Gets a list of beans that represent defining attributes of the item.
|
AttributeValueDataBean[] |
getDefiningAttributeValueDataBeans()
Gets a list of defining attribute value data beans
|
CatalogEntryDescriptionAccessBean |
getDescription()
Gets a bean representing descriptive information about this item.
|
AttributeDataBean[] |
getDescriptiveAttributeDataBeans()
Gets a list of data beans that represent descriptive attributes of the product.
|
AttributeAccessBean[] |
getDescriptiveAttributes()
Gets a list of beans that represent descriptive attributes of the item.
|
AttributeValueDataBean[] |
getDescriptiveAttributeValueDataBeans()
Gets a list of descriptive attribute value data beans
|
CategorizedMonetaryAmountsDataBean |
getDisplayTaxes()
Invokes the getTaxes method in PriceDataBean to calculate the taxes for those
tax categories that are displayable at product display time.
|
RelatedDynamicKitDataBean[] |
getDynamicKitAccessories()
Gets a list of beans that represent dynamic kits that are accessories.
|
RelatedDynamicKitDataBean[] |
getDynamicKitAssociations()
Gets a list of beans that represent dynamic kits that are merchandising associations
for this item.
|
RelatedDynamicKitDataBean[] |
getDynamicKitCrossSells()
Gets a list of beans that represent dynamic kits that are cross-sells.
|
RelatedDynamicKitDataBean[] |
getDynamicKitUpSells()
Gets a list of beans that represent dynamic kits that are up-sells.
|
boolean |
getErrorMode()
Gets the error mode.
|
RelatedItemDataBean[] |
getItemAccessories()
Gets a list of beans that represent items that are accessories to this item.
|
RelatedItemDataBean[] |
getItemAssociations()
Gets a list of beans that represent items that are merchandising associations for this item.
|
RelatedItemDataBean[] |
getItemCrossSells()
Gets a list of beans that represent items that are cross-sells to this item.
|
java.lang.String |
getItemID()
Gets the item ID that represents the primary key for this item.
|
RelatedItemDataBean[] |
getItemReplacements()
Gets a list of beans that represent items that are replacements to this item.
|
RelatedItemDataBean[] |
getItemUpSells()
Gets a list of beans that represent items that are up-sells to this item.
|
PriceDataBean |
getListPrice()
Gets a bean that represents the list price for the item.
|
int |
getNumberOfApplicableContractIds()
Gets the number of applicable contract IDs for calculating the prices.
|
java.lang.String |
getObjectPath()
Gets the path to objects such as images in the context of the current store.
|
RelatedPackageDataBean[] |
getPackageAccessories()
Gets a list of beans that represent packages that are accessories to this item.
|
RelatedPackageDataBean[] |
getPackageAssociations()
Gets a list of beans that represent packages that are merchandising associations for this item.
|
RelatedPackageDataBean[] |
getPackageCrossSells()
Gets a list of beans that represent packages that are cross-sells to this item.
|
RelatedPackageDataBean[] |
getPackageUpSells()
Gets a list of beans that represent packages that are up-sells to this item.
|
ProductDataBean |
getParentProductDataBean()
Gets the parent product databean
|
ProductDataBean[] |
getParentProductDataBeans()
Gets the parent product databeans
|
java.lang.String |
getParentProductId()
Gets a the parent product Id
|
java.lang.String |
getPartNumber()
Gets the part number of the item.
|
RelatedProductDataBean[] |
getProductAccessories()
Gets a list of beans that represent products that are accessories to this item.
|
RelatedProductDataBean[] |
getProductAssociations()
Gets a list of beans that represent products that are merchandising associations for this item.
|
RelatedProductDataBean[] |
getProductCrossSells()
Gets a list of beans that represent products that are cross-sells to this item.
|
RelatedProductDataBean[] |
getProductUpSells()
Gets a list of beans that represent products that are up-sells to this item.
|
TypedProperty |
getRequestProperties()
Gets the request property.
|
PriceDataBean |
getStandardPrice()
Gets a PriceDataBean that represents the standard contract price for the item.
|
boolean |
isAdminMode()
Gets if the bean is running in administrative mode.
|
boolean |
isAnyMerchandisingAssociated()
Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
|
boolean |
isCalculatedContractPriced()
Determines whether the item has a calculated contract price.
|
boolean |
isCheckNumberOfApplicableContractIds()
Determines whether the item has any applicable contract IDs
|
boolean |
isListPriced()
Determines whether the item has a list price.
|
boolean |
isMerchandisingAssociated()
Determines whether there are any merchandising associations associated with this item
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setAdminMode(boolean aboolAdminMode)
Sets the administrative mode of the bean.
|
void |
setAssociationType(java.lang.String type)
Sets the variable
istrAssociationType , which represents the target association type to be processed by
an internal method called processCatalogEntryAssociation() . |
void |
setAttachmentUsage(java.lang.String astrAttachmentUsage)
Sets the attachment relation usage identifier to get all the attachments of the item with the same usage.
|
void |
setAttributeUsage(java.lang.String astrUsage)
Sets the attribute usage for attribute data beans retrieval
|
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
|
void |
setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the descriptive information about this item.
|
void |
setErrorMode(boolean aErrorMode)
Sets the error mode.
|
void |
setItemID(java.lang.String astrItemId)
Sets the item ID that represents the primary key for this item.
|
void |
setPartNumber(java.lang.String astrItemPartNumber)
Sets the item part number
|
void |
setRequestProperties(TypedProperty aParam)
Sets the request property and populates the parameters that are needed by the bean.
|
findByItemSpcId, findByItemSpcIdAndStore, findByItemSpcIdAndStoreNoCache, findByItemSpcIdNoCache, findByProduct, findByProductNoCache, findEntitledItemsByProduct, findEntitledItemsByProduct, findSkuByAttributes, fulfills, getAvailabilityDate, getBaseItem, getBaseItemId, getBaseItemIdInEntityType, getBuyable, getBuyableInEntityType, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEntityType, getDescription, getDescription, getDescriptionNoCache, getDiscontinueDate, getEndDate, getEndOfServiceDate, getEntity, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getField3InEntityType, getField4, getField5, getItemspc_id, getItemspc_idInEntityType, getLanguage_id, getLanguage_idInEntityType, getLastOrderDate, getLastUpdate, getLastUpdateInEntityType, getListPrice, getManufacturerName, getManufacturerPartNumber, getMarkForDelete, getMarkForDeleteInEntityType, getMemberId, getMemberIdInEntityType, getOid, getOnAuction, getOnAuctionInEntityType, getOnSpecial, getOnSpecialInEntityType, getOwner, getParentCatalogEntryIds, getStartDate, getState, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, getType, getUrl, instantiateEntity, isCatalogEntryInStore, setAvailabilityDate, setBaseItemId, setBaseItemId, setBuyable, setBuyable, setDiscontinueDate, setEndDate, setEndOfServiceDate, setField1, setField1, setField2, setField2, setField3, setField3, setField4, setField5, setInitKey_catalogEntryReferenceNumber, setInitKey_catalogEntryReferenceNumber, setItemspc_id, setItemspc_id, setLanguage_id, setLanguage_id, setLastOrderDate, setLastUpdate, setLastUpdate, setManufacturerName, setManufacturerPartNumber, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid, setOnAuction, setOnAuction, setOnSpecial, setOnSpecial, setStartDate, setState, setUrl
public static final java.lang.String COPYRIGHT
public static final java.lang.String ACCESS_PROFILE_NAME_STOREFRONT_SEARCH
public ItemDataBean()
ItemDataBean
.public ItemDataBean(CatalogEntryAccessBean abCatentry)
ItemDataBean
from a CatalogEntryAccessBean
.abCatentry
- The CatalogEntryAccessBean
.public ItemDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
ItemDataBean
from a CatalogEntryAccessBean
and a command context.abCatEntry
- The CatalogEntryAccessBean
.aCommandContext
- The command context as CommandContext
object.public ItemDataBean(ItemAccessBean abItem, CommandContext aCommandContext)
ItemDataBean
from an ItemAccessBean
and a command context.abItem
- The ItemAccessBean
.aCommandContext
- The command context as CommandContext
object.public AttributeAccessBean[] getAttributes()
AttributeAccessBean
.public AttributeAccessBean[] getDescriptiveAttributes()
AttributeAccessBean
.public java.lang.Long[] getApplicableContractIds() throws ECException
getApplicableContractIds
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
ECException
- An exception occurs during the execution of the method. An exception occurs during the execution of the method.public PriceDataBean[] getApplicableContractPrices() throws ECException
getApplicableContractPrices
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public AttachmentDataBean[] getAllAttachments()
AttachmentDataBean
public AttachmentDataBean[] getAttachmentsByUsage()
AttachmentDataBean
public AttachmentUsageDataBean[] getAttachmentUsages()
AttachmentUsageDataBean
public AttributeValueDataBean[] getAttributeValueDataBeans(java.lang.Integer argLanguageId) throws java.lang.Exception
argLanguageId
- The language IDRelatedPackageDataBean
.java.lang.Exception
public RelatedBundleDataBean[] getBundleAccessories() throws ECException
getBundleAccessories
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleAssociations() throws ECException
istrAssociationType
. Set the variable istrAssociationType
through the setAssociationType()
method before calling getBundleAssociations
.
If istrAssociationType
is null, all types of merchandising associations will return.
setAssociationType("UPSELL");
RelatedBundleDataBean[] rb = getBundleAssociations();
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleCrossSells() throws ECException
getBundleCrossSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleUpSells() throws ECException
getBundleUpSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedContractPrice() throws ECException
Note that a item entitlement check will be performed before calculating the contract price,
NULL
could be returned if the item is not entitled in contracts.
getCalculatedContractPrice
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedContractPrice(boolean isEntitledNeeded) throws ECException
isEntitledNeeded
- if the entitlement check for this item is needed before calculating contract price.PriceDataBean
.ECException
- An exception occurs during the execution of the method.getCalculatedContractPrice()
public PriceDataBean getCalculatedPrice() throws ECException
getCalculatedPrice
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public CatalogEntryDescriptionAccessBean getDescription()
getDescription
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
getDescription
in class ItemAccessBean
CatalogEntryDescriptionAccessBean
.public CategorizedMonetaryAmountsDataBean getDisplayTaxes() throws ECException
getDisplayTaxes
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
CategorizedMonetaryAmountsDataBean
containing the
taxing monetary amounts, names and descriptions, and so on.ECException
- An exception occurs during the execution of the method.public boolean getErrorMode()
true
is the default.true
if error mode is set; false
otherwise.public RelatedDynamicKitDataBean[] getDynamicKitAccessories() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitAssociations() throws ECException
istrAssociationType
. Set the variable istrAssociationType
through the setAssociationType()
method before calling the method getDynamicKitAssociations()
.
If istrAssociationType
is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are dynamic kit up-sells for this item:
setAssociationType("UPSELL");
RelatedDynamicKitDataBean[] rb = getDynamicKitAssociations();
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitCrossSells() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitUpSells() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemAccessories() throws ECException
getItemAccessories
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemAssociations() throws ECException
istrAssociationType
. Set the variable istrAssociationType
through the
setAssociationType()
method before calling getItemAssociations
. If istrAssociationType
is null, all types of merchandising associations will return.
For example, the following code returns a list of beans that are item up-sells for this item:
setAssociationType("UPSELL");
RelatedItemDataBean[] rb = getItemAssociations();
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemCrossSells() throws ECException
getItemCrossSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public java.lang.String getItemID()
getItemID
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
public RelatedItemDataBean[] getItemUpSells() throws ECException
getItemUpSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getListPrice() throws ECException
getListPrice
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
PriceDataBean
.ECException
public java.lang.String getObjectPath() throws ECException
ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageAccessories() throws ECException
getPackageAccessories
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageAssociations() throws ECException
istrAssociationType
. Set the variable istrAssociationType
through the
setAssociationType()
method before calling getPackageAssociations
. If istrAssociationType
is null, all types of merchandising associations will return.
For example, the following code returns a list of packages that are up-sells for this item:
setAssociationType("UPSELL");
RelatedPackageDataBean[] rp = getPackageAssociations();
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageCrossSells() throws ECException
getPackageCrossSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageUpSells() throws ECException
getPackageUpSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public java.lang.String getPartNumber()
getPartNumber
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
getPartNumber
in class ItemAccessBean
public RelatedProductDataBean[] getProductAccessories() throws ECException
getProductAccessories
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductAssociations() throws ECException
istrAssociationType
. Set the variable istrAssociationType
through the
setAssociationType()
method before calling getProductAssociations
. If istrAssociationType
is null, all types of merchandising associations will return.
For example, the following code returns a list of beans that are product up-sells for this item:
setAssociationType("UPSELL");
RelatedProductDataBean[] rb = getProductAssociations();
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductCrossSells() throws ECException
getProductCrossSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductUpSells() throws ECException
getProductUpSells
in interface com.ibm.commerce.catalog.beans.ItemSmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
TypedProperty
object. Always returns null
.public void populate()
DataBeanManager.activate()
runs.populate
in interface SmartDataBean
java.lang.Exception
- An exception occurs during the execution of the method.public AttributeValueAccessBean[] getAttributeValues(java.lang.Integer anLanguageId)
Gets the attribute values for the specified item, in the specified language.
The superclass behaviour is overridden to use the cache.
getAttributeValues
in class ItemAccessBean
anLanguageId
- the languagepublic RelatedItemDataBean[] getItemReplacements() throws ECException
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- The command context as CommandContext
object.public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
aabDescription
- The CatalogEntryDescriptionAccessBean
.public void setErrorMode(boolean aErrorMode)
setErrorMode
in interface com.ibm.commerce.catalog.beans.ItemInputDataBean
true
- to have the error mode sets; false
otherwise.public void setItemID(java.lang.String astrItemId)
setItemID
in interface com.ibm.commerce.catalog.beans.ItemInputDataBean
astrItemId
- The item ID.public void setPartNumber(java.lang.String astrItemPartNumber)
setPartNumber
in interface com.ibm.commerce.catalog.beans.ItemInputDataBean
setPartNumber
in class ItemAccessBean
astrItemPartNumber
- The part number of the item.public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
astrAttachmentUsage
- The attachment relation usage identifierpublic void setRequestProperties(TypedProperty aParam)
setRequestProperties
in interface InputDataBean
aParam
- The request property as a TypedProperty
object.public boolean isAdminMode()
true
if the administrative mode is set; false
otherwise.public void setAdminMode(boolean aboolAdminMode)
false
is the default.iboolAdminMode
- true
to have the administrative mode of the bean sets; false
otherwise.public void setAssociationType(java.lang.String type)
istrAssociationType
, which represents the target association type to be processed by
an internal method called processCatalogEntryAssociation()
. Call this method before the following methods to
retrieve a list of specific merchandising association types: getBundleAssociations
,
getDynamicKitAssociations
, getItemAssociations
, getPackageAssociations
,
getProductAssociations
. If type
is null, all types of merchandising associations will return.
type
- The merchandising association type. Valid values are stored in the MASSOCTYPE.MASSOCTYPE_ID column, for example, "X-SELL".public PriceDataBean getStandardPrice()
PriceDataBean
.public AttributeValueDataBean[] getAttributeValueDataBeans()
AttributeValueDataBean
.public void setAttributeUsage(java.lang.String astrUsage)
astrUsage
- Attribute usagepublic AttributeDataBean[] getAttributeDataBeans()
AttributeDataBean
.public AttributeDataBean[] getDescriptiveAttributeDataBeans()
AttributeDataBean
.public AttributeValueDataBean[] getAttributeValueDataBeansByAttributeUsage()
AttributeValueDataBean
.public AttributeValueDataBean[] getDescriptiveAttributeValueDataBeans()
AttributeValueDataBean
.public AttributeValueDataBean[] getDefiningAttributeValueDataBeans()
AttributeValueDataBean
.public ContractDataBean[] getApplicableContracts()
ContractDataBean[]
.public java.lang.String getParentProductId()
parent product id
.
If there is no parent product, then the itemId of this item is returned.public ProductDataBean[] getParentProductDataBeans()
parent product databeans
.
null
is returned if an Exception is caught.public ProductDataBean getParentProductDataBean()
parent product databean
.
If there is no parent product then null
is returned.public boolean isCalculatedContractPriced()
public boolean isListPriced()
public boolean isMerchandisingAssociated()
public boolean isAnyMerchandisingAssociated()
public int getNumberOfApplicableContractIds() throws ECException
ECException
- An exception occurs during the execution of the method. An exception occurs during the execution of the method.public AttributeAccessBean[] getDefiningAttributes()
AttributeAccessBean
.public boolean isCheckNumberOfApplicableContractIds()
public com.ibm.commerce.catalog.util.RangePricingData[] getApplicableContractPriceRanges() throws ECException
RangePricingData
that contains the tiered pricing data for
each of the contracts applicable to this item.ECException
- An exception occurs during the execution of the method.