com.sdm.quasar.client.jsf.dialog.features
Class NavigationFeature

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.jsf.dialog.features.NavigationFeature
All Implemented Interfaces:
Feature, NavigationService, Service, SystemInfoProvider

public class NavigationFeature
extends AbstractFeature
implements NavigationService

Author:
Martin Haft

Constructor Summary
NavigationFeature()
           
 
Method Summary
protected  void dispose()
          Called when the feature or dialog is disposed.
 java.lang.String getActionURL(java.lang.String requestContextPath)
           
protected  void init()
          Called when the feature is initializing.
 boolean isBypass()
           
 boolean performRedirect(java.lang.String redirectUrl)
          Perform a redirect to the given url
 boolean performRedirectToCurrent()
          Perform a redirect to the currently shown VisualRepresentation at the BrowserWindow
 
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
 

Constructor Detail

NavigationFeature

public NavigationFeature()
Method Detail

init

protected void init()
Description copied from class: AbstractFeature
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl 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.

Specified by:
init in class AbstractFeature
See Also:
com.sdm.quasar.client.core.dialog.features.AbstractFeature#init()

dispose

protected void dispose()
                throws DisposeException
Description copied from class: AbstractFeature
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing.

Specified by:
dispose in class AbstractFeature
Throws:
DisposeException
See Also:
com.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()

isBypass

public boolean isBypass()

performRedirectToCurrent

public boolean performRedirectToCurrent()
Description copied from interface: NavigationService
Perform a redirect to the currently shown VisualRepresentation at the BrowserWindow

Specified by:
performRedirectToCurrent in interface NavigationService
Returns:
true: request is completed due to performed redirect

performRedirect

public boolean performRedirect(java.lang.String redirectUrl)
Description copied from interface: NavigationService
Perform a redirect to the given url

Specified by:
performRedirect in interface NavigationService
Parameters:
redirectUrl - the url to redirect to
Returns:
true: request is completed due to performed redirect

getActionURL

public java.lang.String getActionURL(java.lang.String requestContextPath)