public class ControllerCommandInvokerDataBean extends SmartDataBeanImpl
SmartDataBean
object that allows a JSP to invoke
a controller command. It extends the SmartDataBeanImpl
class.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
emptyString
Constructor and Description |
---|
ControllerCommandInvokerDataBean() |
Modifier and Type | Method and Description |
---|---|
void |
executeErrorView()
Deprecated.
Replaced by
executeErrorView(HttpServletResponse) |
void |
executeErrorView(javax.servlet.http.HttpServletResponse response)
This method executes the error view when an exception is thrown.
|
void |
executeView()
Deprecated.
Replaced by
executeView(HttpServletResponse) |
void |
executeView(javax.servlet.http.HttpServletResponse response)
This method executes the view associated with the controller command.
|
java.lang.String |
getCommandInterfaceName()
This method gets the command interface name.
|
java.lang.String |
getCommandName()
This method gets the command name, namely the URL name.
|
TypedProperty |
getErrorProperties()
This method gets the response properties after the error view has been executed.
|
TypedProperty |
getResponseProperties()
This method gets the response properties associated with the command.
|
void |
populate()
This method populates the command data bean.
|
void |
setCommandInterfaceName(java.lang.String astrInterfaceName)
This method sets the command interface name
|
void |
setCommandName(java.lang.String astrCommandName)
This method sets the url command name.
|
void |
setErrorProperties(TypedProperty aProperties)
This method sets the error response properties.
|
void |
setResponseProperties(TypedProperty aRespProperties)
This method sets the response properties.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public void executeErrorView() throws java.lang.Exception
executeErrorView(HttpServletResponse)
java.lang.Exception
- This is thrown if there is a problem executing the
error view or with handling the transaction of calling the error view.public void executeErrorView(javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
response
- This is an HttpServletResponse
object.java.lang.Exception
- This is thrown if there is a problem executing the error
view or with handling the transaction of calling the error view
.public void executeView() throws java.lang.Exception
executeView(HttpServletResponse)
java.lang.Exception
- This is thrown if there is a problem executing the view or
with handling the transaction of calling the view.public void executeView(javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
response
- This is an HttpServletResponse
object.java.lang.Exception
- This is thrown if there is a problem executing the view or
with handling the transaction of calling the view.public java.lang.String getCommandInterfaceName()
public java.lang.String getCommandName()
public TypedProperty getErrorProperties()
public TypedProperty getResponseProperties()
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- This is thrown if there is a problem executing the command or
retrieving the properties after the command is executed.public void setCommandInterfaceName(java.lang.String astrInterfaceName)
astrInterfaceName
- This is the name of the interface.public void setCommandName(java.lang.String astrCommandName)
astrCommandName
- This is the name of the url command.public void setErrorProperties(TypedProperty aProperties)
aProperties
- This is an object that represents the error response properties.public void setResponseProperties(TypedProperty aRespProperties)
aRespProperties
- This is an object that represents the response properties.