public abstract class RedirectViewCommandImpl extends AbstractViewCommand implements RedirectViewCommand
defaultCommandClassName
Constructor and Description |
---|
RedirectViewCommandImpl()
This is the 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. |
fulfills, getForUserId, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getViewCommandContext, getViewName, mergeProperties, performExecute, setForUserId, setOwner, setRequestProperties, setViewCommandContext, setViewName
accessControlCheck, 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, validateParameters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, getResponseProperties, getViewName, mergeProperties, setRequestProperties, setViewName
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public RedirectViewCommandImpl()
public java.lang.String getDocumentPathName() throws ECException
getDocumentPathName
in interface RedirectViewCommand
ECException
- Generates an _ERR_GENERIC
error message.public java.lang.String getRedirectUrl() throws ECException
EC_REDIRECTURL
property from the request properties. If none is found, it
tries to get the EC_URL
property instead. If none is found, it throws a parameter not found
exception. 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 RedirectViewCommand
URL
.ECException
- Generates an _ERR_MISSING_CMD_PARAMETERS
error message.