java.lang.Objectcom.ibm.commerce.beans.InputDataBeanImpl
com.ibm.commerce.beans.SmartDataBeanImpl
com.ibm.commerce.beans.ControllerCommandInvokerDataBean
This is a smart data bean that allows a JSP page to invoke a controller command.
Field Summary | |
protected ControllerCommand | command The controller command to be invoked. |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl |
commandContext |
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.beans.DataBean |
emptyString |
Constructor Summary | |
ControllerCommandInvokerDataBean() |
Method Summary | |
void | executeErrorView() Deprecated. Replaced by executeErrorView(HttpServletResponse) |
void | executeErrorView(HttpServletResponse response) Execute the error view when an exception was thrown. |
void | executeView() Deprecated. Replaced by executeView(HttpServletResponse) |
void | executeView(HttpServletResponse response) Execute the view associated with the controller command. |
java.lang.String | getCommandInterfaceName() Gets the command interface name. |
java.lang.String | getCommandName() Gets the command name i.e the URL name. |
TypedProperty | getErrorProperties() Get the response properties after the error view has been executed. |
TypedProperty | getResponseProperties() Get the response properties associated with command. |
void | populate() Populate the command bean. |
void | setCommandInterfaceName(java.lang.String astrInterfaceName) Sets the command interface name |
void | setCommandName(java.lang.String astrCommandName) Sets the url command name. |
void | setErrorProperties(TypedProperty aProperties) Sets the error properties. |
void | setResponseProperties(TypedProperty aRespProperties) Sets the response properties. |
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 |
public static final java.lang.String COPYRIGHT
protected ControllerCommand command
Constructor Detail |
public ControllerCommandInvokerDataBean()
Method Detail |
public void executeErrorView() throws java.lang.Exception
public void executeErrorView(HttpServletResponse response) throws java.lang.Exception
public void executeView() throws java.lang.Exception
public void executeView(HttpServletResponse response) throws java.lang.Exception
public java.lang.String getCommandInterfaceName()
public java.lang.String getCommandName()
public TypedProperty getErrorProperties()
public TypedProperty getResponseProperties()
public void populate() throws java.lang.Exception
public void setCommandInterfaceName(java.lang.String astrInterfaceName)
public void setCommandName(java.lang.String astrCommandName)
public void setErrorProperties(TypedProperty aProperties)
public void setResponseProperties(TypedProperty aRespProperties)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.