com.ibm.commerce.pa.beans
Class ProductCompareDataBean

java.lang.Object
  |
  +--com.ibm.commerce.pa.beans.DynamicDataBeanImpl
        |
        +--com.ibm.commerce.pa.widget.beans.TableDataBean
              |
              +--com.ibm.commerce.pa.beans.ProductCompareDataBean
All Implemented Interfaces:
CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable

public class ProductCompareDataBean
extends TableDataBean

Contains data representing a set of products that share common attributes. Used for side-by-side comparison of products. Must be used in conjunction with a Widget Bean (e.g. DynamicForm or DynamicTable) to render the data in a browser (HTML).

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
protected  java.lang.String productLinkName
           
protected  java.lang.String sortby
           
 
Fields inherited from class com.ibm.commerce.pa.widget.beans.TableDataBean
columnNameCache, removeIrrelevant, table
 
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
ProductCompareDataBean()
          ProductCompareDataBean constructor.
 
Method Summary
 java.lang.String getCommandInterfaceName()
          Returns the name of the command interface.
 java.lang.String getProductLinkName()
          Returns the product link name.
 java.lang.String getProductLinkParameters()
          Returns the product link parameters.
 java.lang.String getSortby()
          Returns the name of the column used to sort the display.
 void setProductLinkName(java.lang.String newProductLink)
          Set the product link name.
 void setProductLinkParameters(java.lang.String newProductLinkParameters)
          Set the product link parameters.
 void setSortby(java.lang.String newValue)
          Set the name of the column used to sort the display.
 
Methods inherited from class com.ibm.commerce.pa.widget.beans.TableDataBean
addColumn, addRow, copy, createColumnNameCache, getColumn, getColumnAt, getColumnCount, getColumnIndex, getElementAt, getRemoveIrrelevant, getRowAt, getRowCount, getRowElements, getTable, getTableHeaderPresentation, insertColumn, insertRow, removeIrrelevantColumns, setRemoveIrrelevant, setTable
 
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getRequestProperties, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setRequestProperties, setScriptName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

productLinkName

protected java.lang.String productLinkName

sortby

protected java.lang.String sortby
Constructor Detail

ProductCompareDataBean

public ProductCompareDataBean()
ProductCompareDataBean constructor.
Method Detail

getCommandInterfaceName

public java.lang.String getCommandInterfaceName()
Returns the name of the command interface.
Overrides:
getCommandInterfaceName in class DynamicDataBeanImpl
Returns:
java.lang.String

getProductLinkName

public java.lang.String getProductLinkName()
Returns the product link name.
Returns:
java.lang.String

getProductLinkParameters

public java.lang.String getProductLinkParameters()
Returns the product link parameters.
Returns:
java.lang.String

getSortby

public java.lang.String getSortby()
Returns the name of the column used to sort the display.
Returns:
java.lang.String

setProductLinkName

public void setProductLinkName(java.lang.String newProductLink)
Set the product link name.
Parameters:
newProductLink - java.lang.String

setProductLinkParameters

public void setProductLinkParameters(java.lang.String newProductLinkParameters)
Set the product link parameters.
Parameters:
newProductLinkParameters - java.lang.String

setSortby

public void setSortby(java.lang.String newValue)
Set the name of the column used to sort the display. The part number is used by default if this property is not specified.
Parameters:
newValue - java.lang.String