|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
WizardContext combines all the sources of information a wizard component has access to at runtime. It contains the static structure of the panes, the session and the page contect, i.e. the request and the response. It also provides access to the statemachine of this instance and the dependency handler.
| Field Summary | |
static java.lang.String |
WIZARD_INSTANCE
|
| Method Summary | |
void |
changeWizardTitle(java.lang.String newTitle)
|
IWizardComponent |
getComponent(java.lang.String key)
get the WizardComponent at path "key" from the (static) structure of this wizard. |
java.lang.ClassLoader |
getContextClassLoader()
|
java.lang.String |
getEvent()
get the current event from the page context |
com.sapportals.htmlb.rendering.IPageContext |
getPageContext()
get the page context for this request |
java.lang.Object |
getProperty(java.lang.String key)
get the property at path "key" from the session |
WizardSession |
getSession()
Get the session of this wizard instance. |
com.sapportals.util.session.util.StoreableMap |
getSubtreeAsMap(java.lang.String subtreeRoot)
|
java.util.Map |
getWizardParameters()
|
IWizardStructure |
getWizardStructure()
Get the (static) structure of the wizard's panes. |
void |
log(java.lang.String msg)
|
void |
objectChanged(java.lang.String changedObjectKey)
invoke the dependency handler after an objerct was changed. |
void |
overrideStateMachine(java.lang.String paneKey)
force the next pane executed to be the pane under key |
void |
removeProperty(java.lang.String key)
remove the property at path "key" from the session |
void |
removeSubtree(java.lang.String subtreeRoot)
remove the property at path "key" and all of it's subproperties at path "key.*" from the session |
void |
setProperty(java.lang.String key,
java.lang.Object value)
set the property at path "key" in the session |
void |
setTemporaryProperty(java.lang.String key,
java.lang.Object value)
set a property that is valid only for the current request |
void |
severe(java.lang.Throwable t,
java.lang.String msg)
|
void |
warning(java.lang.String msg)
|
| Methods inherited from interface com.sapportals.admin.wizardframework.api.IBasicEditingContext |
getInitialParameters, getRequest |
| Field Detail |
public static final java.lang.String WIZARD_INSTANCE
| Method Detail |
public java.lang.ClassLoader getContextClassLoader()
public IWizardStructure getWizardStructure()
public WizardSession getSession()
public com.sapportals.htmlb.rendering.IPageContext getPageContext()
public void objectChanged(java.lang.String changedObjectKey)
public void overrideStateMachine(java.lang.String paneKey)
public void setProperty(java.lang.String key,
java.lang.Object value)
setProperty in interface IBasicEditingContext
public void setTemporaryProperty(java.lang.String key,
java.lang.Object value)
setTemporaryProperty in interface IBasicEditingContextpublic java.lang.Object getProperty(java.lang.String key)
getProperty in interface IBasicEditingContextpublic void removeProperty(java.lang.String key)
removeProperty in interface IBasicEditingContextpublic void removeSubtree(java.lang.String subtreeRoot)
removeSubtree in interface IBasicEditingContextpublic com.sapportals.util.session.util.StoreableMap getSubtreeAsMap(java.lang.String subtreeRoot)
getSubtreeAsMap in interface IBasicEditingContextpublic IWizardComponent getComponent(java.lang.String key)
public java.lang.String getEvent()
public void changeWizardTitle(java.lang.String newTitle)
public java.util.Map getWizardParameters()
public void log(java.lang.String msg)
public void warning(java.lang.String msg)
public void severe(java.lang.Throwable t,
java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||