|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.jsf.dialog.features.BrowserWindowFeature
| Field Summary | |
java.lang.String |
DEFAULT_WINDOW_ID
|
| Constructor Summary | |
BrowserWindowFeature()
|
|
| Method Summary | |
java.lang.String |
buildActionURL(java.lang.String requestContextPath)
Request to build the action url based upon the given path |
java.lang.String |
buildIdFromPostParameters()
Builds a token out of the post parameters. |
protected void |
dispose()
Called when the feature or dialog is disposed. |
protected BrowserWindow[] |
getAllBrowserWindows()
|
BrowserWindow |
getCurrentBrowserWindow()
|
protected java.lang.String |
getCurrentWindowId()
|
GetParameters |
getGetParameters()
|
PostParameters |
getPostParameters()
|
boolean |
hasBrowserWindow(java.lang.String browserWindowId)
|
void |
hideVisualRepresentation(VisualRepresentation representation,
boolean recreate)
Hides the VisualRepresentation at all BrowserWindows
with hide and reopen or hide an and do not show again strategy |
void |
hideVisualRepresentation(VisualRepresentation representation,
boolean recreate,
java.lang.String redirectUrl,
java.lang.String replacingDialogId,
java.lang.Object context)
|
void |
hideVisualRepresentation(VisualRepresentation representation,
java.lang.String redirectUrl)
Hides the VisualRepresentation at all BrowserWindows.
|
void |
hideVisualRepresentation(VisualRepresentation representation,
java.lang.String replacingDialogId,
java.lang.Object context)
Hides the VisualRepresentation at all
BrowserWindows. with hide and replace by an other
dielog strategy |
protected void |
init()
Called when the feature is initializing. |
void |
registerNewBrowserWindow(java.lang.String browserWiondowId)
|
java.lang.String |
setCurrentBrowserWindow(java.lang.String browserWindowId)
|
protected void |
setCurrentWindowId(java.lang.String currentWindowId)
|
void |
showVisualRepresentation(VisualRepresentation representation)
Show the VisualRepresentation at the current BrowserWindow |
void |
showVisualRepresentation(VisualRepresentation representation,
boolean modal)
Show the VisualRepresentation at the current BrowserWindow |
void |
writePostParameters(UIComponent component,
ResponseWriter writer)
wites the post parameters as hidden fields to the page |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String DEFAULT_WINDOW_ID
| Constructor Detail |
public BrowserWindowFeature()
| Method Detail |
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeature
public void hideVisualRepresentation(VisualRepresentation representation,
boolean recreate)
BrowserWindowServiceVisualRepresentation at all BrowserWindows
with hide and reopen or hide an and do not show again strategy
hideVisualRepresentation in interface BrowserWindowServicerepresentation - the VisualRepresentation to hide.recreate - true: hide and reopen strategy; false: hide an and do not show again strategycom.sdm.quasar.client.jsf.dialog.services.BrowserWindowService#hideRepresentation(com.sdm.quasar.client.jsf.dialog.VisualRepresentation, java.lang.String)
public void hideVisualRepresentation(VisualRepresentation representation,
java.lang.String redirectUrl)
BrowserWindowServiceVisualRepresentation at all BrowserWindows.
with hide and replace by an other page strategy
hideVisualRepresentation in interface BrowserWindowServicerepresentation - the VisualRepresentation to hide.redirectUrl - the url used to redirect to the replacing pagecom.sdm.quasar.client.jsf.dialog.services.BrowserWindowService#hideRepresentation(com.sdm.quasar.client.jsf.dialog.VisualRepresentation, java.lang.String)
public void hideVisualRepresentation(VisualRepresentation representation,
java.lang.String replacingDialogId,
java.lang.Object context)
BrowserWindowServiceVisualRepresentation at all
BrowserWindows. with hide and replace by an other
dielog strategy
hideVisualRepresentation in interface BrowserWindowServicerepresentation - the VisualRepresentation to hide.replacingDialogId - the dialog id of the dialog to be shown instead of this
VisualRepresentationcontext - an optionally context to be used when creation the replacing
dialog, may be nullBrowserWindowService.hideVisualRepresentation(com.sdm.quasar.client.jsf.dialog.VisualRepresentation, java.lang.String, java.lang.Object)
public void hideVisualRepresentation(VisualRepresentation representation,
boolean recreate,
java.lang.String redirectUrl,
java.lang.String replacingDialogId,
java.lang.Object context)
public void showVisualRepresentation(VisualRepresentation representation)
BrowserWindowServiceVisualRepresentation at the current BrowserWindow
showVisualRepresentation in interface BrowserWindowServicerepresentation - the VisualRepresentation be shown.
public void showVisualRepresentation(VisualRepresentation representation,
boolean modal)
BrowserWindowServiceVisualRepresentation at the current BrowserWindow
showVisualRepresentation in interface BrowserWindowServicerepresentation - the VisualRepresentation be shown.modal - true if the VisualRepresentation will be modal.public BrowserWindow getCurrentBrowserWindow()
getCurrentBrowserWindow in interface BrowserWindowManagerServiceBrowserWindowManagerService.getCurrentBrowserWindow()public boolean hasBrowserWindow(java.lang.String browserWindowId)
hasBrowserWindow in interface BrowserWindowManagerServiceBrowserWindowManagerService.hasBrowserWindow(java.lang.String)public void registerNewBrowserWindow(java.lang.String browserWiondowId)
registerNewBrowserWindow in interface BrowserWindowManagerServiceBrowserWindowManagerService.registerNewBrowserWindow(java.lang.String)public java.lang.String setCurrentBrowserWindow(java.lang.String browserWindowId)
setCurrentBrowserWindow in interface BrowserWindowManagerServiceBrowserWindowManagerService.setCurrentBrowserWindow(java.lang.String)protected BrowserWindow[] getAllBrowserWindows()
public java.lang.String buildActionURL(java.lang.String requestContextPath)
ResponseParameterService
buildActionURL in interface ResponseParameterServicerequestContextPath - the base path
ResponseParameterService.buildActionURL(java.lang.String)public java.lang.String buildIdFromPostParameters()
ResponseParameterService
buildIdFromPostParameters in interface ResponseParameterServiceResponseParameterService.buildIdFromPostParameters()
public void writePostParameters(UIComponent component,
ResponseWriter writer)
throws java.io.IOException
ResponseParameterService
writePostParameters in interface ResponseParameterServicejava.io.IOExceptioncom.sdm.quasar.client.jsf.dialog.services.ResponseParameterService#writePostParameters(javax.faces.component.UIComponent, javax.faces.context.ResponseWriter)protected java.lang.String getCurrentWindowId()
protected void setCurrentWindowId(java.lang.String currentWindowId)
public GetParameters getGetParameters()
getGetParameters in interface ResponseParameterServiceGetParameters for the responsepublic PostParameters getPostParameters()
getPostParameters in interface ResponseParameterServicePostParameters for the response
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||