com.ibm.commerce.command
Class HttpIndirectForwardViewCommandImpl
java.lang.Object
com.ibm.commerce.command.AbstractECCommand
com.ibm.commerce.command.AbstractViewCommand
com.ibm.commerce.command.AbstractIndirectViewCommand
com.ibm.commerce.command.HttpIndirectForwardViewCommandImpl
- All Implemented Interfaces:
- AccCommand, ECCommand, HttpViewCommand, IndirectViewCommand, Protectable, ViewCommand
- public class HttpIndirectForwardViewCommandImpl
- extends AbstractIndirectViewCommand
- implements HttpViewCommand
This is a special implementation of a http indirect view command.
Method Summary |
protected void |
forwardView(java.lang.String docPathName)
Forwards the document given the document name. |
HttpServletRequest |
getRequest()
Gets the HttpServletRequest associated with this command. |
HttpServletResponse |
getResponse()
Gets the HttpServletResponse associated with this command. |
ServletContext |
getServletContext()
Gets the servlet context associated with this request. |
void |
performExecute()
The business logic for this indirect view command. |
Methods inherited from class com.ibm.commerce.command.AbstractViewCommand |
fulfills, getForUserId, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getViewName, mergeProperties, setForUserId, setOwner, setRequestProperties, setResponseProperties, setViewName |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
HttpIndirectForwardViewCommandImpl
public HttpIndirectForwardViewCommandImpl()
- Constructor for HttpIndirectViewCommandImpl.
forwardView
protected void forwardView(java.lang.String docPathName)
throws ECException
- Forwards the document given the document name.
-
- Parameters:
- docPathName - the page to be displayed
- Throws:
- ECException
getRequest
public HttpServletRequest getRequest()
- Gets the HttpServletRequest associated with this command.
-
- Specified by:
- getRequest in interface HttpViewCommand
-
- Returns:
- HttpServletRequest
getResponse
public HttpServletResponse getResponse()
- Gets the HttpServletResponse associated with this command.
-
- Specified by:
- getResponse in interface HttpViewCommand
-
- Returns:
- HttpServletResponse
getServletContext
public ServletContext getServletContext()
- Gets the servlet context associated with this request.
-
- Returns:
- ServletContext
performExecute
public void performExecute()
throws ECException
- The business logic for this indirect view command. For this default implementation, the request properties object itself, as well as each individual properties are set as attributes in the HttpServletRequest.
-
- Specified by:
- performExecute in interface ECCommand
- Specified by:
- performExecute in class AbstractViewCommand
-
- Throws:
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.