public class CatalogEntryDataBean extends CatalogEntryAccessBean implements com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: CatalogEntry
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 |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
CatalogEntryDataBean()
Constructs an empty
CatalogEntryDataBean object. |
CatalogEntryDataBean(CatalogEntryAccessBean abCatentry)
Constructs a
CatalogEntryDataBean from a CatalogEntryAccessBean . |
CatalogEntryDataBean(CatalogEntryAccessBean abCatEntry,
CommandContext aCommandContext)
Constructs an
CatalogEntryDataBean from a CatalogEntryAccessBean and a command context. |
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] |
getAllAttachments()
Gets all the attachments in the catalog entry.
|
java.lang.Long[] |
getApplicableContractIds()
Gets a list of applicable contracts for calculating the prices.
|
com.ibm.commerce.catalog.util.RangePricingData[] |
getApplicableContractPriceRanges()
Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts.
|
PriceDataBean[] |
getApplicableContractPrices()
Gets the list of the prices for the applicable contracts.
|
AttachmentDataBean[] |
getAttachmentsByUsage()
Gets all the product attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] |
getAttachmentUsages()
Gets all the attachment relation usage used in the catalog entry attachments
|
AttributeDataBean[] |
getAttributeDataBeans()
Gets a list of data beans that represent attributes of the catalog entry.
|
AttributeAccessBean[] |
getAttributes()
Gets a list of beans that represent attributes of the catalog entry.
|
java.lang.String |
getAvailabilityDay()
Gets the day portion of the timestamp for availability date.
|
java.lang.String |
getAvailabilityMonth()
Gets the month portion of the timestamp for availability date.
|
java.lang.String |
getAvailabilityYear()
Gets the year portion of the timestamp for availability date.
|
RelatedBundleDataBean[] |
getBundleAccessories()
Gets a list of beans which represent bundles that are accessories to this catalog entry.
|
RelatedBundleDataBean[] |
getBundleAssociations()
Gets a list of beans which represent bundles that are merchandising associations for this catalog entry.
|
RelatedBundleDataBean[] |
getBundleCrossSells()
Gets a list of beans which represent bundles that are cross-sells to this catalog entry.
|
BundleDataBean |
getBundleDataBean()
Returns the
com.ibm.commerce.catalog.beans.BundleDataBean corresponding to the catalog entry if this
catalog entry is a bundle. |
RelatedBundleDataBean[] |
getBundleUpSells()
Gets a list of beans which represent bundles that are up-sells to this catalog entry.
|
PriceDataBean |
getCalculatedContractPrice()
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 catalog entry.
|
java.lang.String |
getCatalogEntryID()
Gets the ID that represents the primary key for this catalog entry.
|
CommandContext |
getCommandContext()
Gets the current command's context.
|
CatalogEntryDescriptionAccessBean |
getDescription()
Gets a bean representing descriptive information about this catalog entry.
|
AttributeDataBean[] |
getDescriptiveAttributeDataBeans()
Gets a list of data beans that represent descriptive attributes of the catalog entry.
|
AttributeAccessBean[] |
getDescriptiveAttributes()
Gets a list of beans that represent descriptive attributes of the catalog entry.
|
java.lang.String |
getDiscontinueDay()
Gets the day portion of the timestamp for discontinue date.
|
java.lang.String |
getDiscontinueMonth()
Gets the month portion of the timestamp for discontinue date.
|
java.lang.String |
getDiscontinueYear()
Gets the year portion of the timestamp for discontinue date.
|
RelatedDynamicKitDataBean[] |
getDynamicKitAccessories()
Gets a list of beans that represent dynamic kits that are accessories.
|
RelatedDynamicKitDataBean[] |
getDynamicKitAssociations()
Gets a list of beans which represent dynamic kits that are merchandising associations for this catalog entry.
|
RelatedDynamicKitDataBean[] |
getDynamicKitCrossSells()
Gets a list of beans which represent dynamic kits that are cross-sells.
|
DynamicKitDataBean |
getDynamicKitDataBean()
Returns the
com.ibm.commerce.catalog.beans.DynamicKitDataBean corresponding to the catalog entry if this
catalog entry is a dynamic kit. |
RelatedDynamicKitDataBean[] |
getDynamicKitUpSells()
Gets a list of beans which represent dynamic kits that are up-sells.
|
java.lang.String |
getEndDay()
Gets the day portion of the timestamp for end date.
|
java.lang.String |
getEndMonth()
Gets the month portion of the timestamp for end date.
|
java.lang.String |
getEndOfServiceDay()
Gets the day portion of the timestamp for end of service date.
|
java.lang.String |
getEndOfServiceMonth()
Gets the month portion of the timestamp for end of service date.
|
java.lang.String |
getEndOfServiceYear()
Gets the year portion of the timestamp for end of service date.
|
java.lang.String |
getEndYear()
Gets the year portion of the timestamp for end date.
|
java.lang.String |
getFormattedAvailabilityDate()
Gets the requested availability date formatted based on locale
|
java.lang.String |
getFormattedDiscontinueDate()
Gets the requested discontinue date formatted based on locale
|
java.lang.String |
getFormattedEndDate()
Gets the requested end date formatted based on locale
|
java.lang.String |
getFormattedEndOfServiceDate()
Gets the requested end of service date formatted based on locale
|
java.lang.String |
getFormattedLastOrderDate()
Gets the requested last order date formatted based on locale
|
java.lang.String |
getFormattedStartDate()
Gets the requested start date formatted based on locale
|
RelatedItemDataBean[] |
getItemAccessories()
Gets a list of beans which represent items that are accessories to this catalog entry.
|
RelatedItemDataBean[] |
getItemAssociations()
Gets a list of beans which represent items that are merchandising associations for this catalog entry.
|
RelatedItemDataBean[] |
getItemCrossSells()
Gets a list of beans which represent items that are cross-sells to this catalog entry.
|
ItemDataBean |
getItemDataBean()
Returns the
com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry if this
catalog entry is an item. |
RelatedItemDataBean[] |
getItemUpSells()
Gets a list of beans which represent items that are up-sells to this catalog entry.
|
java.lang.String |
getLastOrderDay()
Gets the day portion of the timestamp for last order date.
|
java.lang.String |
getLastOrderMonth()
Gets the month portion of the timestamp for last order date.
|
java.lang.String |
getLastOrderYear()
Gets the year portion of the timestamp for last order date.
|
PriceDataBean |
getListPrice()
Gets a bean that represents the list price for the catalog entry.
|
PriceDataBean |
getMaximumPrice()
Gets the maximum price of the catalog entry, unless it is a dynamic kit.
|
PriceDataBean |
getMinimumPrice()
Gets the minimum price of the catalog entry, unless it is a dynamic kit.
|
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 which represent packages that are accessories to this catalog entry.
|
RelatedPackageDataBean[] |
getPackageAssociations()
Gets a list of beans which represent packages that are merchandising associations for this catalog entry.
|
RelatedPackageDataBean[] |
getPackageCrossSells()
Gets a list of beans which represent packages that are cross-sells to this catalog entry.
|
PackageDataBean |
getPackageDataBean()
Returns the
com.ibm.commerce.catalog.beans.PackageDataBean corresponding to the catalog entry if this
catalog entry is a Package. |
RelatedPackageDataBean[] |
getPackageUpSells()
Gets a list of beans which represent packages that are up-sells to this catalog entry.
|
java.lang.String |
getPartNumber()
Gets the part (SKU) number of the catalog entry.
|
RelatedProductDataBean[] |
getProductAccessories()
Gets a list of beans that represent products that are accessories to this catalog entry.
|
RelatedProductDataBean[] |
getProductAssociations()
Gets a list of beans which represent products that are merchandising associations for this catalog entry.
|
RelatedProductDataBean[] |
getProductCrossSells()
Gets a list of beans which represent products that are cross-sells to this catalog entry.
|
ProductDataBean |
getProductDataBean()
Returns the
com.ibm.commerce.catalog.beans.ProductDataBean corresponding to the catalog entry if this
catalog entry is a product. |
RelatedProductDataBean[] |
getProductUpSells()
Gets a list of beans which represent products that are up-sells to this catalog entry.
|
TypedProperty |
getRequestProperties()
Gets the request property passed in at run time.
|
CatalogEntryShippingAccessBean |
getShipping()
Gets the access bean which represents the shipping information for this catalog entry.
|
PriceDataBean |
getStandardPrice()
Gets a PriceDataBean that represents the standard contract price for the item.
|
java.lang.String |
getStartDay()
Gets the day portion of the timestamp for start date.
|
java.lang.String |
getStartMonth()
Gets the month portion of the timestamp for start date.
|
java.lang.String |
getStartYear()
Gets the year portion of the timestamp for start date.
|
boolean |
isAnyMerchandisingAssociated()
Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
|
boolean |
isBundle()
Determines whether this catalog entry is a bundle
|
boolean |
isCalculatedContractPriced()
Determines whether the catalog entry has a calculated contract price.
|
boolean |
isCatalogEntryAllowedPriceRanges()
Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts.
|
boolean |
isDynamicKit()
Determines whether this catalog entry is a dynamic kit
|
boolean |
isItem()
Determines whether this catalog entry is an item
|
boolean |
isListPriced()
Determines whether the catalog entry has a list price.
|
boolean |
isMerchandisingAssociated()
Determines whether there are any merchandising associations associated with this catalog entry
|
boolean |
isPackage()
Determines whether this catalog entry is a package
|
boolean |
isProduct()
Determines whether this catalog entry is a product
|
void |
populate()
Fetches and populates information needed by 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 catalog entry with the same usage.
|
void |
setCatalogEntryID(java.lang.String astrCatEntryId)
Sets the ID that represents the primary key for this catalog entry.
|
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
|
void |
setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the description bean.
|
void |
setPartNumber(java.lang.String astrItemPartNumber)
Sets the catalog entry part (SKU) number.
|
void |
setRequestProperties(TypedProperty aParam)
Sets the request property and populates the parameters that are needed by the bean.
|
void |
setShipping(CatalogEntryShippingAccessBean aabShipping)
Sets the shipping bean.
|
findByAttributeValueWithAttributeId, findByAttributeValueWithAttributeIdAndStore, findByBaseItemId, findByBaseItemIdAndStore, findByBaseItemIdAndStoreNoCache, findByBaseItemIdNoCache, findByCatalog, findByCatalogAndGroup, findByCatalogAndGroupAndStore, findByCatalogAndGroupAndStoreAndSubtypes, findByCatalogAndGroupAndStoreAndSubtypesNoCache, findByCatalogAndGroupAndStoreNoCache, findByCatalogAndGroupNoCache, findByCatalogAndStore, findByCatalogAndStoreNoCache, findByCatalogEntryIds, findByCatalogEntryIdsAndStore, findByCatalogEntryIdsAndStoreNoCache, findByCatalogEntryIdsNoCache, findByCatalogNoCache, findByChildCatalogEntry, findByChildCatalogEntryAndStore, findByChildCatalogEntryAndStoreNoCache, findByChildCatalogEntryNoCache, findByItemSpcId, findByItemSpcIdAndStore, findByItemSpcIdAndStoreNoCache, findByItemSpcIdNoCache, findByKeyAndStore, findByKeyAndStoreNoCache, findByMemberId, findByMemberIdAndSKUNumber, findByMemberIdAndSKUNumberNoCache, findByMemberIdNoCache, findByPartNumbersAndStore, findByPartNumbersAndStoreNoCache, findByProduct, findByProductNoCache, findBySKUNumberAndStore, findBySKUNumberAndStoreNoCache, findEntitledCatalogEntryByCatalogAndGroup, findEntitledCatalogEntryByCatalogAndGroup, findEntitledCatalogEntryByCatalogAndGroupAndStore, findEntitledCatalogEntryByCatalogAndGroupAndStore, findEntitledCatalogEntryByCatalogAndGroupAndStoreAndSubtypes, findEntitledCatalogEntryByCatalogAndGroupAndStoreOrderByPartNumber, findEntitledCatalogEntryByCatalogAndGroupAndStoreOrderByPartNumber, findEntitledChildCatalogEntriesByProduct, findValidCatalogEntriesByEntitlement, findValidCatalogEntryByEntitlement, findWithPushDownQuery, findWithPushDownQueryNoCache, 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 CatalogEntryDataBean()
CatalogEntryDataBean
object.public CatalogEntryDataBean(CatalogEntryAccessBean abCatentry)
CatalogEntryDataBean
from a CatalogEntryAccessBean
.abCatentry
- The CatalogEntryAccessBean
.public CatalogEntryDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
CatalogEntryDataBean
from a CatalogEntryAccessBean
and a command context.abCatEntry
- The CatalogEntryAccessBean
.aCommandContext
- The command context as CommandContext
object.public AttachmentDataBean[] getAllAttachments()
AttachmentDataBean
public AttachmentDataBean[] getAttachmentsByUsage()
setAttachmentUsage
method.
Attachments are used in all areas of Web applications.
An attachment is additional material that a user can send in an e-mail,
a request, or a detailed product specification. Attachments can be images files,
text files, audio or video files, programs or documents.AttachmentDataBean
public AttachmentUsageDataBean[] getAttachmentUsages()
AttachmentUsageDataBean
public AttributeAccessBean[] getAttributes()
AttributeAccessBean
.public AttributeAccessBean[] getDescriptiveAttributes()
AttributeAccessBean
.public java.lang.Long[] getApplicableContractIds() throws ECException
getApplicableContractIds
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
ECException
- An exception occurs during the execution of the method.public PriceDataBean[] getApplicableContractPrices() throws ECException
getApplicableContractPrices
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleAccessories() throws ECException
getBundleAccessories
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleAssociations() throws ECException
istrAssociationType
. Sets the variable istrAssociationType
through the
setAssociationType()
method before calling getBundleAssociations
. If
istrAssociationType
is null, all types of merchandising associations will return.
For example, the following code returns a list of beans that are bundle up-sells for this catalog entry:
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.CatalogEntrySmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedBundleDataBean[] getBundleUpSells() throws ECException
getBundleUpSells
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedContractPrice() throws ECException
getCalculatedContractPrice
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedPrice() throws ECException
getCalculatedPrice
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public java.lang.String getCatalogEntryID()
getCatalogEntryID
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public CatalogEntryDescriptionAccessBean getDescription()
getDescription
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
getDescription
in class CatalogEntryAccessBean
CatalogEntryDescriptionAccessBean
.public RelatedDynamicKitDataBean[] getDynamicKitAccessories() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitAssociations() throws ECException
istrAssociationType
. Sets the variable istrAssociationType
through the
setAssociationType()
method before calling 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 catalog entry:
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.CatalogEntrySmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemAssociations() throws ECException
istrAssociationType
. Sets 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 catalog entry:
setAssociationType("UPSELL");
RelatedItemDataBean[] ri = 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.CatalogEntrySmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemUpSells() throws ECException
getItemUpSells
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getListPrice() throws ECException
getListPrice
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
PriceDataBean
.ECException
- An exception occurs during the execution of the method.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.CatalogEntrySmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageAssociations() throws ECException
istrAssociationType
. Sets 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 beans that are package up-sells for this catalog entry:
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.CatalogEntrySmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageUpSells() throws ECException
getPackageUpSells
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public java.lang.String getPartNumber()
getPartNumber
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
getPartNumber
in class CatalogEntryAccessBean
public RelatedProductDataBean[] getProductAccessories() throws ECException
getProductAccessories
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductAssociations() throws ECException
istrAssociationType
. Sets 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 catalog entry:
setAssociationType("UPSELL");
RelatedProductDataBean[] rp = 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.CatalogEntrySmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductUpSells() throws ECException
getProductUpSells
in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
null
.public CatalogEntryShippingAccessBean getShipping()
CatalogEntryShippingAccessBean
.public java.lang.String getFormattedStartDate()
public java.lang.String getStartYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getStartMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getStartDay()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getFormattedEndDate()
public java.lang.String getEndYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getEndMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getEndDay()
ECException
- An exception occurs during the execution of the method.public java.lang.String getFormattedAvailabilityDate()
public java.lang.String getAvailabilityYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getAvailabilityMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getAvailabilityDay()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getFormattedLastOrderDate()
public java.lang.String getLastOrderYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getLastOrderMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getLastOrderDay()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getFormattedEndOfServiceDate()
public java.lang.String getEndOfServiceYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getEndOfServiceMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getEndOfServiceDay()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getFormattedDiscontinueDate()
public java.lang.String getDiscontinueYear()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getDiscontinueMonth()
java.lang.Exception
- An exception occurs during the execution of the method.public java.lang.String getDiscontinueDay()
java.lang.Exception
- An exception occurs during the execution of the method.public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
ECException
- An exception occurs during the execution of the method.java.lang.Exception
- This is thrown if there is a problem populating the data bean with data.public void setCatalogEntryID(java.lang.String astrCatEntryId)
setCatalogEntryID
in interface com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean
astrCatEntryId
- The primary key.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 void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- The command context as CommandContext
object.public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
aabDescription
- The bean that represents the description of the catalog entry.public void setPartNumber(java.lang.String astrItemPartNumber)
setPartNumber
in interface com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean
setPartNumber
in class CatalogEntryAccessBean
astrCatEntryPartNumber
- The catalog entry part (SKU) number.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 TypedProperty
.public void setShipping(CatalogEntryShippingAccessBean aabShipping)
aabShipping
- The bean that represents the shipping information for the catalog entry.public PriceDataBean getStandardPrice()
PriceDataBean
.public AttributeDataBean[] getAttributeDataBeans()
AttributeDataBean
.public AttributeDataBean[] getDescriptiveAttributeDataBeans()
AttributeDataBean
.public boolean isMerchandisingAssociated()
public boolean isAnyMerchandisingAssociated()
public boolean isProduct()
public boolean isItem()
public boolean isPackage()
public boolean isBundle()
public boolean isDynamicKit()
public ProductDataBean getProductDataBean()
com.ibm.commerce.catalog.beans.ProductDataBean
corresponding to the catalog entry if this
catalog entry is a product. Otherwise returns null. Use in conjuction with isProduct()com.ibm.commerce.catalog.beans.ProductDataBean
corresponding to the catalog entrypublic ItemDataBean getItemDataBean()
com.ibm.commerce.catalog.beans.ItemDataBean
corresponding to the catalog entry if this
catalog entry is an item. Otherwise returns null. Use in conjuction with isItem()com.ibm.commerce.catalog.beans.ItemDataBean
corresponding to the catalog entrypublic PackageDataBean getPackageDataBean()
com.ibm.commerce.catalog.beans.PackageDataBean
corresponding to the catalog entry if this
catalog entry is a Package. Otherwise returns null. Use in conjuction with isPackage()com.ibm.commerce.catalog.beans.PackageDataBean
corresponding to the catalog entrypublic BundleDataBean getBundleDataBean()
com.ibm.commerce.catalog.beans.BundleDataBean
corresponding to the catalog entry if this
catalog entry is a bundle. Otherwise returns null. Use in conjuction with isBundle()com.ibm.commerce.catalog.beans.BundleDataBean
corresponding to the catalog entry, null otherwisepublic DynamicKitDataBean getDynamicKitDataBean()
com.ibm.commerce.catalog.beans.DynamicKitDataBean
corresponding to the catalog entry if this
catalog entry is a dynamic kit. Otherwise returns null. Use in conjuction with isDynamicKit()com.ibm.commerce.catalog.beans.DynamicKitDataBean
corresponding to the catalog entry, null otherwisepublic PriceDataBean getMinimumPrice()
com.ibm.commerce.price.beans.PriceDataBean
with the minimum price.public PriceDataBean getMaximumPrice()
com.ibm.commerce.price.beans.PriceDataBean
with the minimum price.public boolean isCalculatedContractPriced()
public boolean isListPriced()
public boolean isCatalogEntryAllowedPriceRanges()
RangePricingData
that contains the tiered pricing data for
each of the contracts applicable to this catalog entry.ECException
- An exception occurs during the execution of the method.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 catalog entry.ECException
- An exception occurs during the execution of the method.