public class RestoreOriginalUserSetInSessionCmdImpl extends ControllerCommandImpl implements RestoreOriginalUserSetInSessionCmd
This command is used to switch the current active organization. The active organization enables a user to be entitled not only to contracts that belong to his/her parent organization but also where he/she plays an Organization participant role. The organization that the switch is being made to must not be locked.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Copyright field.
|
Constructor and Description |
---|
RestoreOriginalUserSetInSessionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getURL()
Gets the URL specified.
|
boolean | isGeneric()
Whether or not this command can be invoked by a generic user.
|
void | performExecute()
Executes the command.
|
void | restoreOrginalUserId()
Switches from the forUserId, which is currently used for execution, back to the original administrative identity.
|
void | setRequestProperties(TypedProperty hshReqParameters)
Sets the request properties.
|
void | setURL(java.lang.String strURL)
Sets the URL to redirect to after logging off the user.
|
void | validateParameters()
Validates the parameters.
|
public static final java.lang.String COPYRIGHT
public RestoreOriginalUserSetInSessionCmdImpl()
public boolean isGeneric()
public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
public void setURL(java.lang.String strURL)
public java.lang.String getURL()
public void performExecute() throws ECException
public void validateParameters() throws ECException
public void restoreOrginalUserId() throws ECException