public abstract class AbstractRedirectViewCommand extends AbstractViewCommand implements RedirectViewCommand
defaultCommandClassName| Constructor and Description |
|---|
AbstractRedirectViewCommand()
This is the default constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocumentPathName()
This method gets the path name of the document to be forwarded.
|
java.lang.String |
getRedirectUrl()
This method gets the
EC_REDIRECTURL property from the request properties. |
void |
setViewStorePath(java.lang.Integer storePathId)
This method sets the directory for the store path used to instantiate this view command.
|
fulfills, getForUserId, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getViewCommandContext, getViewName, mergeProperties, performExecute, setForUserId, setOwner, setRequestProperties, setViewCommandContext, setViewNameaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, setForUserId, setUserId, validateParametersequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestProperties, getResponseProperties, getViewName, mergeProperties, setRequestProperties, setViewNameaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersfulfills, getOwnerpublic AbstractRedirectViewCommand()
public void setViewStorePath(java.lang.Integer storePathId)
storePathId - This is the store path identifier.public java.lang.String getDocumentPathName()
throws ECException
getDocumentPathName in interface RedirectViewCommandECException - This exception generates an _ERR_CMD_MISSING_PARAM or an _ERR_GENERIC error message.public java.lang.String getRedirectUrl()
throws ECException
EC_REDIRECTURL property from the request properties. If none is found,
it will try to get the EC_URL property instead. If none is found, it throws a ParameterNotFoundException.
After the EC_REDIRECTURL or EC_URL has been retrieved, it will be removed from the
properties list so that it won't be added as a parameter to the redirect url itself.getRedirectUrl in interface RedirectViewCommandURL.ECException