public class CatalogNodeListDataBean extends SmartDataBeanImpl implements Delegator, Protectable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_NAME
The name of this class
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
CatalogNodeListDataBean()
Constructs an empty
CatalogNodeListDataBean . |
Modifier and Type | Method and Description |
---|---|
void |
addCatEntries(CategoryDataBean aCategory,
java.lang.String aTopCategoryId,
java.util.List tempList)
Adds list of catalog entries for a given category
|
java.util.HashSet |
getAllCategories()
Gets all the category ids for a catalog.
|
java.lang.String |
getCatalogId()
Gets the catalogId of the catalog to be traversed.
|
com.ibm.commerce.seo.beans.util.AbstractCatalogNodeBeanObservable |
getCatalogNodeBeanObservable()
Returns the catalog node bean observable used for the bean.
|
Protectable |
getDelegate()
Retrieves its delegate.
|
boolean |
getIncludeBundles()
Gets if bundles should be included.
|
boolean |
getIncludeDynamicKits()
Gets if dynamic kits should be included.
|
boolean |
getIncludeItems()
Gets if items should be included.
|
boolean |
getIncludePackages()
Gets if packages should be included.
|
boolean |
getIncludeProducts()
Gets if products should be included.
|
java.util.Iterator |
getIterator()
Gets an iterator for the list of nodes in a catalog tree.
|
java.lang.Long |
getOwner()
Returns the member ID of the owner.
|
java.lang.String |
getStoreId()
Gets the storeId of the catalog to be traversed.
|
void |
populate()
Fetches and populates information needed by the bean.
|
void |
setAdminMode(boolean aMode)
Sets if admin mode is used.
|
void |
setCatalogId(java.lang.String aCatalogId)
Sets the catalogId of the catalog to be traversed.
|
void |
setCatalogNodeBeanObservable(com.ibm.commerce.seo.beans.util.AbstractCatalogNodeBeanObservable aCatalogNodeBeanObservable)
Sets the catalog node bean observable for the bean.
|
void |
setIncludeBundles(boolean aIncludeBundles)
Sets if bundles are to be included.
|
void |
setIncludeDynamicKits(boolean aIncludeDynamicKits)
Sets if dynamic kits are to be included.
|
void |
setIncludeItems(boolean aIncludeItems)
Sets if items are to be included.
|
void |
setIncludePackages(boolean aIncludePackages)
Sets if packages are to be included.
|
void |
setIncludeProducts(boolean aIncludeProducts)
Sets if products are to be included.
|
void |
setStoreId(java.lang.String aStoreId)
Sets the storeId of the catalog to be traversed.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fulfills
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
public CatalogNodeListDataBean()
CatalogNodeListDataBean
.public void setCatalogId(java.lang.String aCatalogId)
aCatalogId
- the catalogId of the catalog to be traversed.public java.lang.String getCatalogId()
public void setStoreId(java.lang.String aStoreId)
aStoreId
- the storeId of the catalog to be traversed.public java.lang.String getStoreId()
public java.util.HashSet getAllCategories()
public void setAdminMode(boolean aMode)
aMode
- a boolean value indicating if admin mode is used.public boolean getIncludeBundles()
public void setIncludeBundles(boolean aIncludeBundles)
aIncludeBundles
- a boolean value indicating if bundles to be included.public boolean getIncludeDynamicKits()
public void setIncludeDynamicKits(boolean aIncludeDynamicKits)
aIncludeDynamicKits
- a boolean value indicating if dynamic kits to be included.public boolean getIncludeItems()
public void setIncludeItems(boolean aIncludeItems)
aIncludeItems
- a boolean value indicating if items to be included.public boolean getIncludePackages()
public void setIncludePackages(boolean aIncludePackages)
aIncludePackages
- a boolean value indicating if packages to be included.public boolean getIncludeProducts()
public void setIncludeProducts(boolean aIncludeProducts)
aIncludeProducts
- a boolean value indicating if products to be included.public void populate() throws ECException
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
ECException
- An exception occurs during the execution of the method.public com.ibm.commerce.seo.beans.util.AbstractCatalogNodeBeanObservable getCatalogNodeBeanObservable()
public void setCatalogNodeBeanObservable(com.ibm.commerce.seo.beans.util.AbstractCatalogNodeBeanObservable aCatalogNodeBeanObservable)
aCatalogNodeBeanObservable
- The node bean to be used for the bean.public java.util.Iterator getIterator()
public void addCatEntries(CategoryDataBean aCategory, java.lang.String aTopCategoryId, java.util.List tempList) throws java.lang.Exception
aCategory
- - CategoryDataBean - Fetches catalog entries for this categoryaTopCategoryId
- - Top categoryIdtempList
- - List to which the fetched catalog entries are added.java.lang.Exception
public Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
com.ibm.commerce.security.Protectable
java.lang.Exception
Delegator.getDelegate()
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface Protectable
java.lang.Exception
Protectable.getOwner()