public class CustomProductSetDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
| Constructor and Description |
|---|
CustomProductSetDataBean() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
buildCatalogEntries(org.w3c.dom.Document xmlDoc)
Creates the catalog entries in the custom product set
|
java.util.Vector |
buildCatalogGroups(org.w3c.dom.Document xmlDoc)
Creates the catalog groups in the custom product set
|
java.util.Vector |
getCatalogEntries()
Gets all the catalog entries in the custom product set
|
com.ibm.commerce.catalog.objects.CatalogEntryAccessBean |
getCatalogEntry(int i)
Gets a catalog entry in the custom product set
|
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean |
getCatalogGroup(int i)
Gets a catalog group in the custom product set
|
java.util.Vector |
getCatalogGroups()
Gets the catalog groups in the custom product set
|
java.lang.Long |
getId()
Gets the contract identifier for the contract this term and condition are in
|
java.lang.Long |
getMemberId(org.w3c.dom.Element memberElement,
boolean isDTD)
Gets member identifier of the owner of the custom product set
|
java.lang.String |
getProductSetName()
Gets the name of the custom product set
|
java.lang.String |
getProductSetXMLdefinition()
Gets the XML definition describing the custom product set
|
org.w3c.dom.Document |
getXMLdocument(java.lang.String xmlString)
Gets the XML document describing the custom product set
|
void |
populate()
This method is used to retrieve the Custom Product Set policies in a store.
|
void |
setId(java.lang.Long id)
Sets the identifier of the custom product set
|
void |
setProductSetName(java.lang.String productSetName)
Sets the name of the custom product set
|
void |
setProductSetXMLdefinition(java.lang.String productSetXMLdefinition)
Sets the XML definition of the custom product set
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContextgetRequestProperties, setRequestPropertiespublic java.util.Vector buildCatalogEntries(org.w3c.dom.Document xmlDoc)
xmlDoc - Documentpublic java.util.Vector buildCatalogGroups(org.w3c.dom.Document xmlDoc)
xmlDoc - Documentpublic java.util.Vector getCatalogEntries()
public com.ibm.commerce.catalog.objects.CatalogEntryAccessBean getCatalogEntry(int i)
i - intpublic com.ibm.commerce.catalog.objects.CatalogGroupAccessBean getCatalogGroup(int i)
i - intpublic java.util.Vector getCatalogGroups()
public java.lang.Long getId()
public java.lang.Long getMemberId(org.w3c.dom.Element memberElement,
boolean isDTD)
memberElement - Elementpublic java.lang.String getProductSetName()
public java.lang.String getProductSetXMLdefinition()
public org.w3c.dom.Document getXMLdocument(java.lang.String xmlString)
public void populate()
throws java.lang.Exception
DataBeanManager.activate()
runs.populate in interface com.ibm.commerce.beans.SmartDataBeanpopulate in class com.ibm.commerce.beans.SmartDataBeanImpljava.lang.Exceptionpublic void setId(java.lang.Long id)
id - Longpublic void setProductSetName(java.lang.String productSetName)
productSetName - Stringpublic void setProductSetXMLdefinition(java.lang.String productSetXMLdefinition)
productSetXMLdefinition - String