java.lang.Object | +--com.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)
copy
in interface
DynamicDataBean
public java.lang.String getCommandInterfaceName()
getCommandInterfaceName
in interface
CommandDataBean
public ConstraintList getConstraintList()
public AbstractDynamicWidget getDefaultWidget()
getDefaultWidget
in interface
DynamicDataBean
public int getErrorCode()
public java.lang.String getErrorMessage()
public DataBeanDescriptor getMetaData()
getMetaData
in interface
DynamicDataBean
public java.lang.String getPageName()
getPageName
in interface
DynamicDataBean
public DynamicDataBean getParent()
getParent
in interface
DynamicDataBean
public java.lang.String getParentName()
getParentName
in interface
DynamicDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public java.lang.String getScriptName()
getScriptName
in interface
DynamicDataBean
public void setCommandInterfaceName(java.lang.String ifname)
setCommandInterfaceName
in interface
CommandDataBean
ifname
- java.lang.Stringpublic void setConstraintList(ConstraintList newConstraintList)
newConstraintList
-
com.ibm.commerce.pa.metaphor.ConstraintListpublic void setDefaultWidget(AbstractDynamicWidget newValue)
setDefaultWidget
in interface
DynamicDataBean
newValue
-
com.ibm.commerce.pa.widget.AbstractDynamicWidgetpublic void setErrorCode(int newCode)
newCode
- intpublic void setErrorMessage(java.lang.String newMessage)
newMessage
- java.lang.Stringpublic void setMetaData(DataBeanDescriptor newValue)
setMetaData
in interface
DynamicDataBean
newValue
-
com.ibm.commerce.beans.DataBeanDescriptorpublic void setPageName(java.lang.String newPage)
setPageName
in interface
DynamicDataBean
newPage
- java.lang.Stringpublic void setParent(DynamicDataBean newValue)
setParent
in interface
DynamicDataBean
newValue
-
com.ibm.commerce.pa.beans.DynamicDataBeanpublic void setParentName(java.lang.String newValue)
setParentName
in interface
DynamicDataBean
newValue
- java.lang.Stringpublic void setRequestProperties(TypedProperty reqProperties)
setRequestProperties
in interface
InputDataBean
reqProperties
-
com.ibm.commerce.datatype.TypedPropertypublic void setScriptName(java.lang.String newScriptName)
setScriptName
in interface
DynamicDataBean
newScriptName
- java.lang.String