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 final 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 | equals(Object
the reference object with which to compare. o)Overrides jakarta. Indicates whether some other object is "equal to" this one. |
| public URL | getActionURL(FacesContext
the context)FacesContext for the current requestOverrides jakarta.
Construct an absolute URL to this |
| public URL | getBookmarkableURL(FacesContext
the context)FacesContext for the current requestOverrides jakarta.
Construct an absolute URL suitable for a bookmarkable link to this |
| public Boolean | getCondition(FacesContext
the context)FacesContext for the current requestOverrides jakarta.
Evaluates the |
| public String | getFromAction()
Overrides jakarta.
Return the |
| public String | getFromOutcome()
Overrides jakarta.
Return the |
| public String | getFromViewId()
Overrides jakarta.
Return the |
| public Map | getParameters()
Overrides jakarta. Return the parameters to be included for navigation cases requiring a redirect. |
| public URL | getRedirectURL(FacesContext
the context)FacesContext for the current requestOverrides jakarta.
Construct an absolute URL suitable for a "redirect" to this |
| public URL | getResourceURL(FacesContext
the context)FacesContext for the current requestOverrides jakarta.
Construct an absolute URL to this |
| public String | getToFlowDocumentId()
Overrides jakarta.
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 jakarta.
Evaluates the |
| public NavigationCase | getWrapped()
Implements jakarta. A class that implements this interface uses this method to return an instance of the class being wrapped. |
| public boolean | hasCondition()
Overrides jakarta.
Test if this navigation case has an associated |
| public int | hashCode()
Overrides jakarta. Returns a hash code value for this object. |
| public boolean | isIncludeViewParams()
Overrides jakarta.
Return the |
| public boolean | isRedirect()
Overrides jakarta.
Return the |
| public String | toString()
Overrides jakarta. Returns a string representation of the object. |
| wrapped | back to summary |
|---|---|
| private final 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 jakarta. 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 jakarta. Doc from jakarta.
Construct an absolute URL to this
| |
| getBookmarkableURL | back to summary |
|---|---|
| public URL getBookmarkableURL(FacesContext context) throws MalformedURLException Overrides jakarta. Doc from jakarta.
Construct an absolute URL suitable for a bookmarkable link to this
| |
| getCondition | back to summary |
|---|---|
| public Boolean getCondition(FacesContext context) Overrides jakarta. Doc from jakarta.
Evaluates the
| |
| getFromAction | back to summary |
|---|---|
| public String getFromAction() Overrides jakarta. Doc from jakarta.
Return the | |
| getFromOutcome | back to summary |
|---|---|
| public String getFromOutcome() Overrides jakarta. Doc from jakarta.
Return the | |
| getFromViewId | back to summary |
|---|---|
| public String getFromViewId() Overrides jakarta. Doc from jakarta.
Return the | |
| getParameters | back to summary |
|---|---|
| public Map Overrides jakarta. Doc from jakarta.
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 jakarta. Doc from jakarta.
Construct an absolute URL suitable for a "redirect" to this
| |
| getResourceURL | back to summary |
|---|---|
| public URL getResourceURL(FacesContext context) throws MalformedURLException Overrides jakarta. Doc from jakarta.
Construct an absolute URL to this
| |
| getToFlowDocumentId | back to summary |
|---|---|
| public String getToFlowDocumentId() Overrides jakarta. Doc from jakarta.
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 jakarta. Doc from jakarta.
Evaluates the
| |
| getWrapped | back to summary |
|---|---|
| public NavigationCase getWrapped() Implements jakarta. Doc from jakarta. 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 jakarta. Doc from jakarta.
Test if this navigation case has an associated
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides jakarta. Doc from java. Returns a hash code value for this 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 jakarta. Doc from jakarta.
Return the
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect() Overrides jakarta. Doc from jakarta.
Return the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jakarta. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |