Provides a simple implementation of
NavigationCase that can be subclassed by developers wishing to
provide specialized behavior to an existing NavigationCase
instance. The default implementation of all methods is to call
through to the wrapped NavigationCase instance.
Usage: extend this class and push the implementation being wrapped to the
constructor and use getWrapped to access the instance being wrapped.
| Modifier and Type | Field and Description |
|---|---|
| private NavigationCase |
| Access | Constructor and Description |
|---|---|
| public | NavigationCaseWrapper()
Deprecated
Use the other constructor taking the implementation being wrapped.
|
| public | NavigationCaseWrapper(NavigationCase
The implementation being wrapped. wrapped)If this navigation case has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public URL | getActionURL(FacesContext
the context)FacesContext for the current requestOverrides javax. Construct an absolute URL to this
|
| public URL | getBookmarkableURL(FacesContext
the context)FacesContext for the current requestOverrides javax. Construct an absolute URL suitable for a
bookmarkable link to this |
| public Boolean | getCondition(FacesContext
the context)FacesContext for the current requestOverrides javax. Evaluates the
|
| public String | getFromAction()
Overrides javax. Return the |
| public String | getFromOutcome()
Overrides javax. Return the |
| public String | getFromViewId()
Overrides javax. Return the
|
| public Map | getParameters()
Overrides javax. Return the parameters to be included for navigation cases requiring a redirect. |
| public URL | getRedirectURL(FacesContext
the context)FacesContext for the current requestOverrides javax. Construct an absolute URL suitable for a
"redirect" to this |
| public URL | getResourceURL(FacesContext
the context)FacesContext for the current requestOverrides javax. Construct an absolute URL to this
|
| public String | getToFlowDocumentId()
Overrides javax. If this navigation case represents
a flow invocation, this property is the documentId in which the flow
whose id is given by the return from |
| public String | getToViewId(FacesContext
the context)FacesContext for the current requestOverrides javax. Evaluates the |
| public NavigationCase | getWrapped()
Implements javax. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public boolean | hasCondition()
Overrides javax. Test if this navigation case has an
associated |
| public int | hashCode()
Returns a hash code value for the object.
|
| public boolean | isIncludeViewParams()
Overrides javax. Return the
|
| public boolean | isRedirect()
Overrides javax. Return the
|
| public String | toString()
Returns a string representation of the object.
|
| wrapped | back to summary |
|---|---|
| private NavigationCase wrapped | |
| NavigationCaseWrapper | back to summary |
|---|---|
| public NavigationCaseWrapper()
Deprecated Use the other constructor taking the implementation being wrapped.
| |
| NavigationCaseWrapper | back to summary |
|---|---|
| public NavigationCaseWrapper(NavigationCase wrapped) If this navigation case has been decorated,
the implementation doing the decorating should push the implementation being wrapped to this constructor.
The
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides javax. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getActionURL | back to summary |
|---|---|
| public URL getActionURL(FacesContext context) throws MalformedURLException Overrides javax. Doc from javax. Construct an absolute URL to this
| |
| getBookmarkableURL | back to summary |
|---|---|
| public URL getBookmarkableURL(FacesContext context) throws MalformedURLException Overrides javax. Doc from javax. Construct an absolute URL suitable for a
bookmarkable link to this
| |
| getCondition | back to summary |
|---|---|
| public Boolean getCondition(FacesContext context) Overrides javax. Doc from javax. Evaluates the
| |
| getFromAction | back to summary |
|---|---|
| public String getFromAction() Overrides javax. Doc from javax. Return the | |
| getFromOutcome | back to summary |
|---|---|
| public String getFromOutcome() Overrides javax. Doc from javax. Return the | |
| getFromViewId | back to summary |
|---|---|
| public String getFromViewId() Overrides javax. Doc from javax. Return the
| |
| getParameters | back to summary |
|---|---|
| public Map Overrides javax. Doc from javax. Return the parameters to be included
for navigation cases requiring a redirect. If no parameters are
defined, | |
| getRedirectURL | back to summary |
|---|---|
| public URL getRedirectURL(FacesContext context) throws MalformedURLException Overrides javax. Doc from javax. Construct an absolute URL suitable for a
"redirect" to this
| |
| getResourceURL | back to summary |
|---|---|
| public URL getResourceURL(FacesContext context) throws MalformedURLException Overrides javax. Doc from javax. Construct an absolute URL to this
| |
| getToFlowDocumentId | back to summary |
|---|---|
| public String getToFlowDocumentId() Overrides javax. Doc from javax. If this navigation case represents
a flow invocation, this property is the documentId in which the flow
whose id is given by the return from | |
| getToViewId | back to summary |
|---|---|
| public String getToViewId(FacesContext context) Overrides javax. Doc from javax. Evaluates the
| |
| getWrapped | back to summary |
|---|---|
| public NavigationCase getWrapped() Implements javax. Doc from javax. A class that implements this interface uses this method to return an instance of the class being wrapped.
| |
| hasCondition | back to summary |
|---|---|
| public boolean hasCondition() Overrides javax. Doc from javax. Test if this navigation case has an
associated
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javax. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isIncludeViewParams | back to summary |
|---|---|
| public boolean isIncludeViewParams() Overrides javax. Doc from javax. Return the
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect() Overrides javax. Doc from javax. Return the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides javax. Doc from java. Returns a string representation of the object. | |