NavigationCase represents a <navigation-case> in
the navigation rule base, as well as the <from-view-id> with
which this <navigation-case> is a sibling.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private ValueExpression | |
| private final String | |
| private final String | |
| private final String | |
| private int | |
| private final boolean | |
| private final Map | |
| private final boolean | |
| private final String | |
| private String | |
| private final String | |
| private ValueExpression |
| Access | Constructor and Description |
|---|---|
| public | NavigationCase(String
return from fromViewId, String getFromViewIdreturn from fromAction, String getFromActionreturn from fromOutcome, String getFromOutcomeA string to be interpreted as a condition, String ValueExpression by a call to getConditionreturn from toViewId, Map<String, List<String>> getToViewIdreturn from parameters, boolean getParametersreturn from redirect, boolean isRedirectreturn includeViewParams)isIncludeViewParams
Construct a new |
| public | NavigationCase(String
return from fromViewId, String getFromViewIdreturn from fromAction, String getFromActionreturn from fromOutcome, String getFromOutcomeA string to be interpreted as a condition, String ValueExpression by a call to getConditionreturn from toViewId, String getToViewIdthe toFlow documentId. toFlowDocumentId, Map<String, List<String>> return from parameters, boolean getParametersreturn from redirect, boolean isRedirectreturn includeViewParams)isIncludeViewParams
Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public URL | Returns: the action URL.the context)FacesContext for the current request
Construct an absolute URL to this |
| public URL | Returns: the bookmarkable URL.the context)FacesContext for the current request
Construct an absolute URL suitable for a bookmarkable link to this |
| public Boolean | Returns: null if there is no <if> element associated with this
<navigation-case>, otherwise return the evaluation result of the conditionthe context)FacesContext for the current request
Evaluates the |
| public String | |
| public String | |
| public String | Returns: the from viedId.
Return the |
| public Map | Returns: the list of parameters, ornullReturn the parameters to be included for navigation cases requiring a redirect. |
| public URL | Returns: the redirect URL.the context)FacesContext for the current request
Construct an absolute URL suitable for a "redirect" to this |
| public URL | Returns: the resource URL.the context)FacesContext for the current request
Construct an absolute URL to this |
| public String | Returns: the toFlow documentId.
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 | Returns: the view ID that should be navigated tothe context)FacesContext for the current request
Evaluates the |
| public boolean | Returns: true if there's an <if> element associated with this
<navigation-case>, otherwise false
Test if this navigation case has an associated |
| public int | |
| public boolean | Returns: true if view parameters are to be included, false otherwise.
Return the |
| public boolean | Returns: true if this is a redirect, false otherwise.
Return the |
| public String |
| condition | back to summary |
|---|---|
| private final String condition | |
| conditionExpr | back to summary |
|---|---|
| private ValueExpression conditionExpr | |
| fromAction | back to summary |
|---|---|
| private final String fromAction | |
| fromOutcome | back to summary |
|---|---|
| private final String fromOutcome | |
| fromViewId | back to summary |
|---|---|
| private final String fromViewId | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| includeViewParams | back to summary |
|---|---|
| private final boolean includeViewParams | |
| parameters | back to summary |
|---|---|
| private final Map<String, List<String>> parameters | |
| redirect | back to summary |
|---|---|
| private final boolean redirect | |
| toFlowDocumentId | back to summary |
|---|---|
| private final String toFlowDocumentId | |
| toString | back to summary |
|---|---|
| private String toString | |
| toViewId | back to summary |
|---|---|
| private final String toViewId | |
| toViewIdExpr | back to summary |
|---|---|
| private ValueExpression toViewIdExpr | |
| NavigationCase | back to summary |
|---|---|
| public NavigationCase(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId, Map<String, List<String>> parameters, boolean redirect, boolean includeViewParams)
Construct a new
| |
| NavigationCase | back to summary |
|---|---|
| public NavigationCase(String fromViewId, String fromAction, String fromOutcome, String condition, String toViewId, String toFlowDocumentId, Map<String, List<String>> parameters, boolean redirect, boolean includeViewParams)
Construct a new
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. 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
Construct an absolute URL to this
| |
| getBookmarkableURL | back to summary |
|---|---|
| public URL getBookmarkableURL(FacesContext context) throws MalformedURLException
Construct an absolute URL suitable for a bookmarkable link to this
| |
| getCondition | back to summary |
|---|---|
| public Boolean getCondition(FacesContext context)
Evaluates the
| |
| getFromAction | back to summary |
|---|---|
| public String getFromAction()
Return the
| |
| getFromOutcome | back to summary |
|---|---|
| public String getFromOutcome()
Return the
| |
| getFromViewId | back to summary |
|---|---|
| public String getFromViewId()
Return the
| |
| getParameters | back to summary |
|---|---|
| public Map
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
Construct an absolute URL suitable for a "redirect" to this
| |
| getResourceURL | back to summary |
|---|---|
| public URL getResourceURL(FacesContext context) throws MalformedURLException
Construct an absolute URL to this
| |
| getToFlowDocumentId | back to summary |
|---|---|
| public String getToFlowDocumentId()
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)
Evaluates the
| |
| hasCondition | back to summary |
|---|---|
| public boolean hasCondition()
Test if this navigation case has an associated
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. 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()
Return the
| |
| isRedirect | back to summary |
|---|---|
| public boolean isRedirect()
Return the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |