java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.contract.beans.CustomProductSetDataBean
Retrieve all the data associated with a Custom Product Set
Field Summary | |
---|---|
protected
java.util.Vector |
_catalogEntries |
protected
java.util.Vector |
_catalogGroups |
protected
java.lang.Long |
_id |
protected
java.lang.String |
_productSetName |
protected
java.lang.String |
_productSetXMLdefinition |
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
commandContext,
COPYRIGHT |
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
CustomProductSetDataBean() |
Method Summary | |
---|---|
java.util.Vector |
buildCatalogEntries(org.w3c.dom.Document xmlDoc) Create the catalog entries in the custom product set |
java.util.Vector |
buildCatalogGroups(org.w3c.dom.Document xmlDoc) Create the catalog groups in the custom product set |
java.util.Vector |
getCatalogEntries() Get all the catalog entries in the custom product set |
CatalogEntryAccessBean |
getCatalogEntry(int i) Get a catalog entry in the custom product set |
CatalogGroupAccessBean |
getCatalogGroup(int i) Get a catalog group in the custom product set |
java.util.Vector |
getCatalogGroups() Get the catalog groups in the custom product set |
java.lang.Long |
getId() Get the contract identifier for the contract this term and condition is in |
java.lang.Long |
getMemberId(org.w3c.dom.Element memberElement,
boolean isDTD) Get member identifier of the owner of the custom product set |
java.lang.String |
getProductSetName() Get the name of the custom product set |
java.lang.String |
getProductSetXMLdefinition() Get the XML definition describing the custom product set |
org.w3c.dom.Document |
getXMLdocument(java.lang.String xmlString) Get the XML document describing the custom product set |
void |
populate() Populates the databean with elements. |
void |
setId(java.lang.Long id) Set the identifier of the custom product set |
void |
setProductSetName(java.lang.String productSetName) Set the name of the custom product set |
void |
setProductSetXMLdefinition(java.lang.String productSetXMLdefinition) Set the XML definition of the custom product set |
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
fulfills,
getCommandContext,
getResources,
setCommandContext |
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
getRequestProperties,
setRequestProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.beans. InputDataBean |
getRequestProperties,
setRequestProperties |
Field Detail |
---|
protected java.lang.Long _id
protected java.util.Vector _catalogEntries
protected java.util.Vector _catalogGroups
protected java.lang.String _productSetName
protected java.lang.String _productSetXMLdefinition
Constructor Detail |
---|
public CustomProductSetDataBean()
Method Detail |
---|
public 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 CatalogEntryAccessBean getCatalogEntry(int i)
i
- intpublic 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
SmartDataBeanImpl
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.public void setId(java.lang.Long id)
id
- Longpublic void setProductSetName(java.lang.String productSetName)
productSetName
- Stringpublic void setProductSetXMLdefinition(java.lang.String productSetXMLdefinition)
productSetXMLdefinition
- String