public class CategoryDataBean
extends com.ibm.commerce.catalog.beansrc.CompactCatalogGroupAccessBean
implements com.ibm.commerce.catalog.beans.CategoryInputDataBean, com.ibm.commerce.catalog.beans.CategorySmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: CatalogGroup
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 | CLASSNAME
The name of this implementation of the command.
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CategoryDataBean()
Constructs an empty CategoryDataBean.
|
CategoryDataBean(CatalogGroupAccessBean abCatGroup)
Constructs a CategoryDataBean from a CatalogGroupAccessBean.
|
CategoryDataBean(CatalogGroupAccessBean abCatGroup, CommandContext aCommandContext)
Constructs a CategoryDataBean from a CatalogGroupAccessBean and a command context.
|
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] | getAllAttachments()
Gets all the attachments in the catalog group.
|
AttachmentDataBean[] | getAttachmentsByUsage()
Get all the product attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] | getAttachmentUsages()
Get all the attachment relation usage used in the catalog group attachments
|
BundleDataBean[] | getBundles()
Gets a list of beans that represent bundles in this category.
|
CatalogEntryDataBean[] | getCatalogEntryDataBeans()
Gets a list of beans that represent catalog entries in this category.
|
java.lang.String | getCatalogId()
Gets the catalog ID that represents the primary key for the catalog.
|
RelatedCategoryDataBean[] | getCategoryAccessories()
Gets a list of beans that represent categories that are accessories to this category.
|
CatalogGroupAttributeAccessBean[] | getCategoryAttributes()
Gets a list of beans that represent attributes of this category.
|
RelatedCategoryDataBean[] | getCategoryCrossSells()
Gets a list of beans that represent categories that are cross-sells to this category.
|
java.lang.String | getCategoryId()
Gets the category ID that represents the primary key for this category.
|
RelatedCategoryDataBean[] | getCategoryUpSells()
Gets a list of beans that represent categories that are up-sells to this category.
|
CommandContext | getCommandContext()
Gets the current command's context.
|
boolean | getDeepFetch()
Gets the flag for deep fetch.
|
CatalogGroupDescriptionAccessBean | getDescription()
Gets a bean representing descriptive information about this category.
|
DynamicKitDataBean[] | getDynamicKits()
Gets a list of beans that represent dynamic kits in this category
|
java.util.Vector | getExclusionPSIds()
Gets the exclusion product set IDs.
|
java.lang.String | getFilterEnabled()
Gets the enabled filter.
|
java.lang.String | getIdentifier()
Gets the external identifier of the category.
|
java.util.Vector | getInclusionPSIds()
Gets the inclusion product set IDs.
|
ItemDataBean[] | getItems()
Gets a list of beans that represent items in this category.
|
java.lang.String | getObjectPath()
Gets the path to objects such as images in the context of the current store.
|
PackageDataBean[] | getPackages()
Gets a list of beans that represent packages in this category.
|
CategoryDataBean[] | getParentCategories()
Gets a list of beans that represent parent categories of this category.
|
ProductDataBean[] | getProducts()
Gets a list of beans that represent products in this category.
|
TypedProperty | getRequestProperties()
Gets the request property passed in at run time.
|
CategoryDataBean[] | getSubCategories()
Gets a list of beans that represent subcategories of this category.
|
boolean | hasSubCategories()
Whether or not the category has subcategories.
|
boolean | isAdminMode()
Gets the administrative mode of the bean.
|
boolean | isChildCategory()
Returns true if the category has a parent category or parent categories, returns false otherwise
|
boolean | isMerchandisingAssociated()
Returns true if the category has merchandising associated
|
void | populate()
Loads data into the data bean when the DataBeanManager.activate() runs.
|
void | setAdminMode(boolean aboolAdminMode)
Sets the administrative mode.
|
void | setAttachmentUsage(java.lang.String astrAttachmentUsage)
Sets the attachment relation usage identifier to get all the attachments of the product with the same usage.
|
void | setCatalogId(java.lang.String astrCatalogId)
Sets the catalog Id that represents the primary key for the catalog.
|
void | setCategoryId(java.lang.String astrCategoryId)
Sets the category Id that represents the primary key for this category.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
|
void | setDeepFetch(boolean aboolDeepFetch)
Sets the boolean flag if deep fetch is in use.
|
void | setDescription(CatalogGroupDescriptionAccessBean aabDescription)
Sets the description for the category.
|
void | setExclusionPSIds(java.util.Vector newExclusionPSIds)
Sets the exclusion product set IDs.
|
void | setFilterEnabled(java.lang.String newFilterEnabled)
Sets the filter enabled flag.
|
void | setIdentifier(java.lang.String astrIdentifier)
Sets the external identifier for this category.
|
void | setInclusionPSIds(java.util.Vector newInclusionPSIds)
Sets the inclusion product set IDs.
|
void | setRequestProperties(TypedProperty aParam)
Sets the request properties and populates the parameters that are needed by the bean.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public CategoryDataBean()
public CategoryDataBean(CatalogGroupAccessBean abCatGroup) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public CategoryDataBean(CatalogGroupAccessBean abCatGroup, CommandContext aCommandContext) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public AttachmentDataBean[] getAllAttachments()
public AttachmentDataBean[] getAttachmentsByUsage()
public AttachmentUsageDataBean[] getAttachmentUsages()
public BundleDataBean[] getBundles() throws ECException
public java.lang.String getCatalogId()
public RelatedCategoryDataBean[] getCategoryAccessories() throws ECException
public CatalogGroupAttributeAccessBean[] getCategoryAttributes() throws ECException
public RelatedCategoryDataBean[] getCategoryCrossSells() throws ECException
public java.lang.String getCategoryId()
public RelatedCategoryDataBean[] getCategoryUpSells() throws ECException
public CommandContext getCommandContext()
public boolean getDeepFetch()
public CatalogGroupDescriptionAccessBean getDescription() throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException
public DynamicKitDataBean[] getDynamicKits() throws ECException
public java.util.Vector getExclusionPSIds()
public java.lang.String getFilterEnabled()
public java.lang.String getIdentifier()
public java.util.Vector getInclusionPSIds()
public ItemDataBean[] getItems() throws ECException
public java.lang.String getObjectPath() throws ECException
public PackageDataBean[] getPackages() throws ECException
public CategoryDataBean[] getParentCategories() throws ECException
public ProductDataBean[] getProducts() throws ECException
public TypedProperty getRequestProperties()
public CategoryDataBean[] getSubCategories() throws ECException
public boolean hasSubCategories() throws ECException
public void populate() throws java.lang.Exception
public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
public void setCatalogId(java.lang.String astrCatalogId)
public void setCategoryId(java.lang.String astrCategoryId)
public void setCommandContext(CommandContext aCommandContext)
public void setDeepFetch(boolean aboolDeepFetch)
public void setDescription(CatalogGroupDescriptionAccessBean aabDescription)
public void setExclusionPSIds(java.util.Vector newExclusionPSIds)
public void setFilterEnabled(java.lang.String newFilterEnabled)
public void setIdentifier(java.lang.String astrIdentifier)
public void setInclusionPSIds(java.util.Vector newInclusionPSIds)
public void setRequestProperties(TypedProperty aParam)
public boolean isAdminMode()
public void setAdminMode(boolean aboolAdminMode)
public boolean isChildCategory()
public boolean isMerchandisingAssociated()
public CatalogEntryDataBean[] getCatalogEntryDataBeans()