|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.view.rich.context.WindowIdProvider
oracle.adf.view.rich.context.WindowIdProviderBase
public abstract class WindowIdProviderBase
A base implementation of WindowIdProvider as a convenience for implementors. Subclassers must implement getCurrentWindowId(), and will usually want to override windowOpened() and isNewWindow().
Constructor Summary | |
---|---|
WindowIdProviderBase() |
Method Summary | |
---|---|
void |
addWindowCloseListener(WindowCloseListener listener) Adds a WindowCloseListener. |
abstract java.lang.String |
getCurrentWindowId(javax.faces.context.FacesContext context) Gets the ID for the current window, or null if no ID is known. |
boolean |
isNewWindow(javax.faces.context.FacesContext context) Default implementation; returns true if windowOpened() has been called during this request. |
void |
removeWindowCloseListener(WindowCloseListener listener) Removes a WindowCloseListener. |
void |
windowClosed(javax.faces.context.FacesContext context, java.lang.String windowId) Called to notify the WindowIdProvider implementation that a window has been closed. |
java.lang.String |
windowOpened(javax.faces.context.FacesContext context, java.lang.String baseWindowId) Called to notify the WindowIdProvider implementation that a new window has been opened. |
Methods inherited from class oracle.adf.view.rich.context.WindowIdProvider |
---|
decodeWindowId, getRedirectURL, isWindowIdAvailable, needsWindowUnloadedEvents, windowOpened, windowUnloaded |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowIdProviderBase()
Method Detail |
---|
public abstract java.lang.String getCurrentWindowId(javax.faces.context.FacesContext context)
WindowIdProvider
getCurrentWindowId
in class WindowIdProvider
public boolean isNewWindow(javax.faces.context.FacesContext context)
isNewWindow
in class WindowIdProvider
public java.lang.String windowOpened(javax.faces.context.FacesContext context, java.lang.String baseWindowId)
WindowIdProvider
windowOpened
in class WindowIdProvider
baseWindowId
- the ID of the window that launched this, or null if no window is known as the sourcepublic void windowClosed(javax.faces.context.FacesContext context, java.lang.String windowId)
WindowIdProvider
windowClosed
in class WindowIdProvider
public void addWindowCloseListener(WindowCloseListener listener)
WindowIdProvider
addWindowCloseListener
in class WindowIdProvider
public void removeWindowCloseListener(WindowCloseListener listener)
WindowIdProvider
removeWindowCloseListener
in class WindowIdProvider
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1) E10684-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |