public class DefaultSandboxRuntimeSupport extends SandboxRuntimeSupport
oracle.adf.share.sandbox.SandboxRuntimeSupport.| Constructor and Description |
|---|
DefaultSandboxRuntimeSupport()
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enterUserSandbox(Sandbox sandbox)
Associates a sandbox with the current user.
|
Sandbox |
exitUserSandbox()
Removes the sandbox associated with the current user.
|
protected Sandbox |
getSandbox(java.lang.String id)
Returns the
Sandbox object for an existing sandbox ID. |
Sandbox |
getUserSandbox()
Gets the sandbox associated with the current user.
|
getInstancepublic DefaultSandboxRuntimeSupport()
public Sandbox getUserSandbox()
SandboxRuntimeSupportgetUserSandbox in class SandboxRuntimeSupportnull
if there is no user session or no sandbox is associated with the
current sessionpublic boolean enterUserSandbox(Sandbox sandbox)
SandboxRuntimeSupportenterUserSandbox in class SandboxRuntimeSupportsandbox - the sandbox to be associated with the current userpublic Sandbox exitUserSandbox()
SandboxRuntimeSupportexitUserSandbox in class SandboxRuntimeSupportprotected Sandbox getSandbox(java.lang.String id)
Sandbox object for an existing sandbox ID.id - the existing sandbox IDSandbox object for the given ID; null
if the ID does not exist