|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.tools.campaigns.ProductTreeDataBean
The ProductTreeDataBean class extends the com.ibm.commerce.tools.common.ui.DynamicTreeUserDataBean class to create the catalog browser used in campaign creation.
Field Summary | |
protected java.lang.String |
catalogId
The catalog ID defined in the root of this product tree. |
protected java.lang.String |
categoryId
The category ID holder to be used when constructing the tree. |
static java.lang.String |
CATENTRY_TYPE_BUNDLE
Define catalog entry type constants |
static java.lang.String |
CATENTRY_TYPE_DYNAMIC_KIT
Define catalog entry type constants |
static java.lang.String |
CATENTRY_TYPE_ITEM
Define catalog entry type constants |
static java.lang.String |
CATENTRY_TYPE_PACKAGE
Define catalog entry type constants |
static java.lang.String |
CATENTRY_TYPE_PRODUCT
Define catalog entry type constants |
protected CommandContext |
commandContext
The command context used in this bean. |
protected java.util.Vector |
iconInfo
The vector of all the icon information in the tree. |
protected java.lang.String |
locationType
The location type of this product tree. |
protected java.util.Vector |
menuInfo
The vector of all the menu information in the tree. |
protected java.util.Vector |
nodeInfo
The vector of all the node information in the tree. |
protected java.lang.String |
selectionType
The selection type of this product tree. |
Fields inherited from interface com.ibm.commerce.beans.SmartDataBean |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
ProductTreeDataBean()
Constructs a ProductTreeDataBean object. |
Method Summary | |
java.lang.String |
getCatalogId()
getCatalogId method is used to get the catalog ID defined in the root of this product tree. |
java.lang.String |
getCategoryId()
getCategoryId method is used to get the category ID of the selected tree node. |
CommandContext |
getCommandContext()
getCommandContext method is used to get the commandContext associated with the data bean. |
java.util.Vector |
getIconInfo()
getIconInfo method is used to get the icon information. |
java.lang.String |
getLocationType()
getLocationType method is used to get the location type of this product tree. |
java.util.Vector |
getMenuInfo()
getMenuInfo method is used to get the menu information. |
java.util.Vector |
getNodeInfo()
getNodeInfo method is used to get the node information. |
TypedProperty |
getRequestProperties()
getRequestProperties method is used to get the requestProperties associated with the data bean. |
java.lang.String |
getSelectionType()
getSelectionType method is used to get the selection type of this product tree. |
void |
populate()
populate the databean, you should've got everything you want from requestProperties and commandContext before this method is executed Populate all nodes info and append to the nodeInfo vector, which will be later retrived by a caller databean through getNodeInfo() method |
void |
setCommandContext(CommandContext cc)
setCommandContext method is used to set the commandContext associated with the data bean. |
void |
setRequestProperties(TypedProperty param)
setRequestProperties method is used to 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 |
Field Detail |
protected java.lang.String catalogId
protected java.lang.String categoryId
public static final java.lang.String CATENTRY_TYPE_BUNDLE
public static final java.lang.String CATENTRY_TYPE_DYNAMIC_KIT
public static final java.lang.String CATENTRY_TYPE_ITEM
public static final java.lang.String CATENTRY_TYPE_PACKAGE
public static final java.lang.String CATENTRY_TYPE_PRODUCT
protected CommandContext commandContext
protected java.util.Vector iconInfo
protected java.lang.String locationType
protected java.util.Vector menuInfo
protected java.util.Vector nodeInfo
protected java.lang.String selectionType
Constructor Detail |
public ProductTreeDataBean()
Method Detail |
public java.lang.String getCatalogId() throws ECSystemException
public java.lang.String getCategoryId() throws ECSystemException
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public java.util.Vector getIconInfo() throws ECSystemException
getIconInfo
in interface DynamicTreeUserDataBean
public java.lang.String getLocationType() throws ECSystemException
public java.util.Vector getMenuInfo() throws ECSystemException
getMenuInfo
in interface DynamicTreeUserDataBean
public java.util.Vector getNodeInfo() throws ECSystemException
getNodeInfo
in interface DynamicTreeUserDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public java.lang.String getSelectionType() throws ECSystemException
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
public void setCommandContext(CommandContext cc)
setCommandContext
in interface SmartDataBean
cc
- The command context passed to the JSP page that invokes this data bean.public void setRequestProperties(TypedProperty param) throws java.lang.Exception
setRequestProperties
in interface InputDataBean
requestProperties
- The set of properties passed to the JSP page that invokes this data bean.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |