public class SandboxSessionSupportImpl extends SandboxSessionSupport
MODE_EDIT, PROPERTY_VB_FEATURE, SB_NOT_SET
Constructor and Description |
---|
SandboxSessionSupportImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterDelete()
Notifies session object after the sandbox is deleted
|
void |
afterPublish()
Notifies session object after the sandbox is published
|
void |
afterRefresh()
Notifies session object after the sandbox is refreshed
|
void |
beforeDelete()
Notifies session object after the sandbox is deleted
|
void |
beforePublish()
Notifies session object before the sandbox is published
|
void |
beforeRefresh()
Notifies session object before the sandbox is refreshed
|
void |
deleteSandbox(java.lang.String userSandboxId)
Notifies session object when a sandbox is deleted.
|
void |
enterSandboxSession(java.lang.String userSandboxId)
Associates a sandbox ID with a session.
|
void |
exitSandboxSession()
Dis-associates a sandbox ID with a session if a sandbox ID is
associated with the sandbox.
|
java.lang.String |
getMode()
Returns mode of the sandbox.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSandboxTaskParams()
Any parameters required to perform initialization of a sandbox task can be
supplied to sandbox task thread through this method.
|
java.lang.String |
getSessionMetadataRevisionId()
Returns the ID of the metadata revision in the current user session.
|
java.lang.String |
getSessionSandboxId()
Returns sandbox ID from session object
|
void |
publishSandbox(java.lang.String userSandboxId)
Notifies session object when a sandbox is published.
|
void |
setMode(java.lang.String mode)
Sets mode of the sandbox.
|
void |
setSandboxTaskParams(java.util.Map<java.lang.String,java.lang.Object> params)
This method will be invoked before the task starts from the thread that
performs the sandbox tasks.
|
adfSessionOptionsSettingsRejected, checkCurrentCustomizationContext, getCurrentSandboxId, getCustomCustConfig, getCustomizationPolicy, getHomePageURL, getInitialAdfmdeParameters, getInstance, getMaximumNumberOfOpenSandboxes, getSandboxedFeatures, getSandboxListenerSupport, getSessionProperty, getUserName, getVisualBuilderSandboxedFeatureId, isEditSupported, isHomePageRedirectionEnabled, isRequestForRefresh, isUnified, newADFSessionOptionsSettings, newADFSessionOptionsSettingsRT, newThreadResources, notify, setCurrentSandboxId, setRequestForRefresh, updateSessionMetadataRevision
public void publishSandbox(java.lang.String userSandboxId)
publishSandbox
in class SandboxSessionSupport
userSandboxId
- the ID of sandbox that is published.public void deleteSandbox(java.lang.String userSandboxId)
deleteSandbox
in class SandboxSessionSupport
userSandboxId
- the ID of sandbox that is deleted.public java.lang.String getSessionSandboxId()
getSessionSandboxId
in class SandboxSessionSupport
public java.lang.String getSessionMetadataRevisionId()
SandboxSessionSupport
getSessionMetadataRevisionId
in class SandboxSessionSupport
null
if the metadata should be read from mainline
tip or if such information is not availablepublic void enterSandboxSession(java.lang.String userSandboxId)
enterSandboxSession
in class SandboxSessionSupport
userSandboxId
- the sandbox IDpublic void exitSandboxSession()
exitSandboxSession
in class SandboxSessionSupport
public java.lang.String getMode()
getMode
in class SandboxSessionSupport
setMode(java.lang.String)
public void setMode(java.lang.String mode)
setMode
in class SandboxSessionSupport
mode
- of the sandbox which can be Edit or Read Only.public void beforePublish()
beforePublish
in class SandboxSessionSupport
public void afterPublish()
afterPublish
in class SandboxSessionSupport
public void beforeRefresh()
beforeRefresh
in class SandboxSessionSupport
public void afterRefresh()
afterRefresh
in class SandboxSessionSupport
public void beforeDelete()
beforeDelete
in class SandboxSessionSupport
public void afterDelete()
afterDelete
in class SandboxSessionSupport
public java.util.Map<java.lang.String,java.lang.Object> getSandboxTaskParams()
SandboxSessionSupport
getSandboxTaskParams
in class SandboxSessionSupport
public void setSandboxTaskParams(java.util.Map<java.lang.String,java.lang.Object> params)
SandboxSessionSupport
setSandboxTaskParams
in class SandboxSessionSupport