public class Navigate extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build and return the fully constructed navigation
String. |
static Navigate |
to(Class<?> clazz)
|
static Navigate |
to(String viewId)
Create a new
Navigate instance that will invoke navigation to the specified View ID. |
String |
toString() |
Navigate |
with(CharSequence name,
Object value)
Set a query parameter to be passed to the specified View Id.
|
Navigate |
withoutRedirect()
Specify that navigation should be performed using JavaServer Faces non-redirecting navigation.
|
public static Navigate to(String viewId)
Navigate instance that will invoke navigation to the specified View ID.
Query parameters to be provided to the destination View ID may be supplied via with(CharSequence, Object).
viewId - the destination View IDpublic static Navigate to(Class<?> clazz)
Navigate instance that will invoke navigation to the specified Class. For instance,
if the class specifies a @Join rule, this would generate a navigation case targeting the
Address for the defined resource.
Query parameters to be provided to the destination View ID may be supplied via with(CharSequence, Object).
clazz - the target ClassResourcePathResolverpublic Navigate with(CharSequence name, Object value)
The - query parameter name.The - query parameter value.public Navigate withoutRedirect()
Copyright © 2019 OCPsoft. All rights reserved.