com.ibm.commerce.beans
Class ControllerCommandInvokerDataBean
java.lang.Object
|
+--com.ibm.commerce.beans.InputDataBeanImpl
|
+--com.ibm.commerce.beans.SmartDataBeanImpl
|
+--com.ibm.commerce.beans.ControllerCommandInvokerDataBean
- All Implemented Interfaces:
- DataBean, InputDataBean, java.io.Serializable, SmartDataBean
- public class ControllerCommandInvokerDataBean
- extends SmartDataBeanImpl
This is a SmartDataBean that allows a Jsp to invoke a controller command from a JSP.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
protected ControllerCommand command
COPYRIGHT
public static final java.lang.String COPYRIGHT
ControllerCommandInvokerDataBean
public ControllerCommandInvokerDataBean()
executeErrorView
public void executeErrorView()
throws java.lang.Exception
- Execute the error view when an exception was thrown.
executeView
public void executeView()
throws java.lang.Exception
- Execute the view associated with the controller command.
getCommandInterfaceName
public java.lang.String getCommandInterfaceName()
- Gets the command interface name
getCommandName
public java.lang.String getCommandName()
- Gets the command name i.e the URL name
getErrorProperties
public TypedProperty getErrorProperties()
- Get the error properties.
getResponseProperties
public TypedProperty getResponseProperties()
- Get the response properties associated with command.
populate
public void populate()
throws java.lang.Exception
- Populate the command bean. This includes instantiating the command and setting the
command context and request properties and then executing the command.
- Overrides:
populate
in class SmartDataBeanImpl
setCommandInterfaceName
public void setCommandInterfaceName(java.lang.String astrInterfaceName)
- Sets the command interface name
setCommandName
public void setCommandName(java.lang.String astrCommandName)
- Sets the command name
setErrorProperties
public void setErrorProperties(TypedProperty aProperties)
- Sets the error properties
setResponseProperties
public void setResponseProperties(TypedProperty aRespProperties)
- Sets the response properties