|
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.UriManager
oracle.adf.view.rich.context.UriManagerBase
public class UriManagerBase
Base implementation of the UriManager
Constructor Summary | |
---|---|
UriManagerBase() |
Method Summary | |
---|---|
boolean |
addQueryParameters(javax.faces.context.FacesContext context, java.util.Map<java.lang.String,java.lang.String> params, boolean redirectIfNecessary) Adds query parameters to the current view's URL |
protected java.lang.String |
getQueryString(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params, boolean preserveParams) Utility method for returning a portion of the URI containing query parameters |
boolean |
makeBookmarkable(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params) Navigates to a bookmarkable URL. |
protected void |
makeBookmarkableBase(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params, boolean preserveParams) Utility method that implementations may call to perform a redirect-based oparation for making the URI bookmarkable |
Methods inherited from class oracle.adf.view.rich.context.UriManager |
---|
addQueryParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UriManagerBase()
Method Detail |
---|
public boolean addQueryParameters(javax.faces.context.FacesContext context, java.util.Map<java.lang.String,java.lang.String> params, boolean redirectIfNecessary) throws java.io.IOException
UriManager
addQueryParameters
in class UriManager
context
- Faces contextparams
- a map with name-value pairs, where keys represent parameter names. Existing query parameters on the URI will be preserved unless they are overridden with new values from the mapredirectIfNecessary
- true if a client-side redirect should be issued when the new query parameters cannot be added to the URI by other means, false otherwise. The consumer fo this interface will normally pass true for the GET requests. For the POST requests, the new query parameters will be reflected in the action URLjava.io.IOException
public boolean makeBookmarkable(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params) throws java.io.IOException
UriManager
makeBookmarkable
in class UriManager
context
- Faces contextviewId
- - View Id for the navigation targetparams
- a map with name-value pairs, where keys represent parameter names. Existing query parameters on the URI will be preserved when no navigation is known to occurrjava.io.IOException
protected void makeBookmarkableBase(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params, boolean preserveParams) throws java.io.IOException
context
- Faces contextviewId
- - View Id for the navigation targetparams
- a map with name-value pairs, where keys represent parameter names. Existing query parameters on the URI will be preserved when no navigation is known to occurrpreserveParams
- true
is the existing query parameters should be preservedjava.io.IOException
protected java.lang.String getQueryString(javax.faces.context.FacesContext context, java.lang.String viewId, java.util.Map<java.lang.String,java.lang.String> params, boolean preserveParams)
context
- Faces contextviewId
- the view Id of the page that will be renderedparams
- a map with name-value pairs, where keys represent parameter namespreserveParams
- true
if the existing query parameters should be preserved
|
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 |