public class ProductTreeDataBean extends java.lang.Object implements DynamicTreeUserDataBean
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | catalogId |
protected java.lang.String | categoryId |
static java.lang.String | CATENTRY_TYPE_BUNDLE
Catentry type constants
|
static java.lang.String | CATENTRY_TYPE_ITEM
Catentry type constants
|
static java.lang.String | CATENTRY_TYPE_PACKAGE
Catentry type constants
|
static java.lang.String | CATENTRY_TYPE_PRODUCT
Catentry type constants
|
protected CommandContext | commandContext |
protected java.lang.String | contractId |
protected java.util.Vector | iconInfo |
protected java.util.Vector | menuInfo |
protected java.util.Vector | nodeInfo |
protected java.lang.String | selectionType |
Constructor and Description |
---|
ProductTreeDataBean()
Constructs a ProductTreeDataBean
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | buildCategoryExclusionQuery(java.lang.String contractId, java.lang.String catalogId)
Builds the query to excluded the excluded categories
|
java.lang.String | buildProductExclusionQuery(java.lang.String contractId)
Builds the query to excluded the excluded catentries
|
java.lang.String | getCatalogId()
Gets the catalog identifier for the tree
|
java.lang.String | getCategoryId()
Gets the category identifier for the tree
|
CommandContext | getCommandContext()
Gets the command context
|
java.lang.String | getContractId()
Gets the contract identifier for the tree
|
java.lang.String | getDefaultLanguageId()
Gets the language identifier for the language in which to search
|
java.lang.String | getExcludedProductSets(java.lang.String contractId)
Finds the excluded product sets from the base contract
|
java.util.Vector | getIconInfo()
Gets the information for the icons in the tree
|
java.lang.String | getLanguageId()
Gets the language identifier for the language in which to fetch.
|
java.util.Vector | getMenuInfo()
Gets the information for the menu
|
java.util.Vector | getNodeInfo()
Gets the information for the nodes in the tree
|
TypedProperty | getRequestProperties()
Gets the request properties
|
java.lang.String | getSelectionType()
Gets the selection type
|
java.lang.String | getStoreId()
Gets the store identifier
|
java.lang.String | getStoreIds()
Gets the store identifiers for all the related stores in the store path
|
void | populate()
This method is used to populate the data bean.
|
void | setCommandContext(CommandContext cc)
Sets the command context
|
void | setRequestProperties(TypedProperty param)
Sets the requestProperties associated with the data bean.
|
protected CommandContext commandContext
protected java.util.Vector nodeInfo
protected java.util.Vector iconInfo
protected java.util.Vector menuInfo
protected java.lang.String selectionType
protected java.lang.String catalogId
protected java.lang.String contractId
protected java.lang.String categoryId
public static final java.lang.String CATENTRY_TYPE_PRODUCT
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_BUNDLE
public ProductTreeDataBean()
public java.lang.String getExcludedProductSets(java.lang.String contractId)
public java.lang.String buildCategoryExclusionQuery(java.lang.String contractId, java.lang.String catalogId)
public java.lang.String buildProductExclusionQuery(java.lang.String contractId)
public java.lang.String getCatalogId() throws ECSystemException
public java.lang.String getContractId() throws ECSystemException
public java.lang.String getCategoryId() throws ECSystemException
public CommandContext getCommandContext()
public java.util.Vector getIconInfo() throws ECSystemException
public java.util.Vector getMenuInfo() throws ECSystemException
public java.util.Vector getNodeInfo() throws ECSystemException
public TypedProperty getRequestProperties()
public java.lang.String getSelectionType() throws ECSystemException
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext cc)
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public java.lang.String getStoreIds() throws java.lang.Exception
public java.lang.String getStoreId() throws java.lang.Exception
public java.lang.String getDefaultLanguageId() throws java.lang.Exception
public java.lang.String getLanguageId() throws java.lang.Exception