java.lang.Objectcom.ibm.commerce.pa.beans.DynamicDataBeanImpl
This is the implementation of the DynamicDataBean interface and contained in the inheritance tree of most of the Product Advisor databeans.
Field Summary | |
protected ConstraintList | constraintList |
static java.lang.String | COPYRIGHT |
protected AbstractDynamicWidget | defaultWidget |
protected int | errorCode The error code for the bean. |
protected java.lang.String | errorMessage The error message for the bean. |
protected java.lang.String | interfaceName The interface name of the command to invoke to return a populated instance of the bean. |
protected DataBeanDescriptor | metaData |
protected java.lang.String | pageName The page name for the current request of this bean. |
protected DynamicDataBean | parent |
protected java.lang.String | parentName |
protected TypedProperty | requestProperties |
protected java.lang.String | scriptName The Servlet Path for current request of this bean. |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
DynamicDataBeanImpl() DynamicDataBeanImpl constructor. |
Method Summary | |
void | addConstraint(java.lang.String columnName, java.lang.String operation, java.lang.String value, java.lang.String dataType, java.lang.String languageId) Add a constraint that should be used, for the current page only, in addition to the feature constraints selected through the metaphor and passed in as URL parameters. |
abstract void | copy(DynamicDataBean ds) Copy method. |
java.lang.String | getCommandInterfaceName() Return the name of the command that populates this bean. |
ConstraintList | getConstraintList() Return the list of feature constraints in effect. |
AbstractDynamicWidget | getDefaultWidget() Return the default widget to use to render this bean. |
int | getErrorCode() Return any error code generated while populating this bean. |
java.lang.String | getErrorMessage() Return any error message generated while populating this bean. |
DataBeanDescriptor | getMetaData() Return the DataBeanDescriptor for this bean. |
java.lang.String | getPageName() Return the page name for the page that this bean is on. |
DynamicDataBean | getParent() Return the parent bean. |
java.lang.String | getParentName() Return the name of the class of the parent bean. |
TypedProperty | getRequestProperties() Return the request properties. |
java.lang.String | getScriptName() Return the script name for the page that this bean is on. |
void | setCommandInterfaceName(java.lang.String ifname) Set the name of the command that populates this bean. |
void | setConstraintList(ConstraintList newConstraintList) Set the list of feature constraints to be used by this bean. |
void | setDefaultWidget(AbstractDynamicWidget newValue) Set the default widget used to render this bean. |
void | setErrorCode(int newCode) Set the error code used for this bean. |
void | setErrorMessage(java.lang.String newMessage) Set the error message for this bean. |
void | setMetaData(DataBeanDescriptor newValue) Set the descriptor for this bean. |
void | setPageName(java.lang.String newPage) Set the name of the page that this bean is on. |
void | setParent(DynamicDataBean newValue) Set the parent of this bean. |
void | setParentName(java.lang.String newValue) Set the name of the class of the parent of this bean. |
void | setRequestProperties(TypedProperty reqProperties) Set the request properties. |
void | setScriptName(java.lang.String newScriptName) Set the name of the script for the page that this bean is on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
protected AbstractDynamicWidget defaultWidget
protected DataBeanDescriptor metaData
protected TypedProperty requestProperties
protected DynamicDataBean parent
protected java.lang.String parentName
protected java.lang.String interfaceName
protected java.lang.String pageName
protected java.lang.String scriptName
protected java.lang.String errorMessage
protected int errorCode
protected ConstraintList constraintList
Constructor Detail |
public DynamicDataBeanImpl()
Method Detail |
public void addConstraint(java.lang.String columnName, java.lang.String operation, java.lang.String value, java.lang.String dataType, java.lang.String languageId)
public abstract void copy(DynamicDataBean ds)
public java.lang.String getCommandInterfaceName()
public ConstraintList getConstraintList()
public AbstractDynamicWidget getDefaultWidget()
public int getErrorCode()
public java.lang.String getErrorMessage()
public DataBeanDescriptor getMetaData()
public java.lang.String getPageName()
public DynamicDataBean getParent()
public java.lang.String getParentName()
public TypedProperty getRequestProperties()
public java.lang.String getScriptName()
public void setCommandInterfaceName(java.lang.String ifname)
public void setConstraintList(ConstraintList newConstraintList)
public void setDefaultWidget(AbstractDynamicWidget newValue)
public void setErrorCode(int newCode)
public void setErrorMessage(java.lang.String newMessage)
public void setMetaData(DataBeanDescriptor newValue)
public void setPageName(java.lang.String newPage)
public void setParent(DynamicDataBean newValue)
public void setParentName(java.lang.String newValue)
public void setRequestProperties(TypedProperty reqProperties)
public void setScriptName(java.lang.String newScriptName)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.