public interface RestoreOriginalUserSetInSessionCmd extends ControllerCommand
This command is used by a user to switch their identity from a forUserId back to their original identity.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright field.
|
static java.lang.String | defaultCommandClassName
Default command implementation class.
|
static java.lang.String | ERRTASK_NAME
The error view that would be forwarded to, on errors.
|
static java.lang.String | NAME
Command name.
|
static java.lang.String | VIEW_NAME
The view that would be forwarded to on successful execution, if a URL is not defined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getURL()
The URL to redirect to, on successful execution of the command.
|
void | restoreOrginalUserId()
Switches from the forUserId, which is currently used for execution, back to the original administrative identity.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String VIEW_NAME
static final java.lang.String ERRTASK_NAME
void restoreOrginalUserId() throws ECException
java.lang.String getURL()