public class NodeURL extends PortalURL<NavigationResource,NodeURL>
| Modifier and Type | Field and Description |
|---|---|
static QualifiedName |
PATH
.
|
static QualifiedName |
REQUEST_SITE_NAME
.
|
static QualifiedName |
REQUEST_SITE_TYPE
.
|
static ResourceType<NavigationResource,NodeURL> |
TYPE
.
|
ajax, confirm, mimeType, queryParams| Constructor and Description |
|---|
NodeURL(URLContext context) |
| Modifier and Type | Method and Description |
|---|---|
Set<QualifiedName> |
getParameterNames()
Returns the set of parameter names provided this url.
|
String |
getParameterValue(QualifiedName parameterName)
Returns a specified parameter value or null when it is not available.
|
NavigationResource |
getResource()
Returns the current resource associated with this URL.
|
NodeURL |
setNode(UserNode node) |
NodeURL |
setResource(NavigationResource resource)
Set a new resource on this URL.
|
getAjax, getAuthorityUse, getConfirm, getLocale, getMimeType, getQueryParameters, getQueryParameterValue, getQueryParameterValues, getSchemeUse, isCSRFCheck, reset, setAjax, setAuthorityUse, setConfirm, setCSRFCheck, setLocale, setMimeType, setQueryParameterValue, setQueryParameterValues, setSchemeUse, toStringpublic static final QualifiedName PATH
public static final QualifiedName REQUEST_SITE_TYPE
public static final QualifiedName REQUEST_SITE_NAME
public static final ResourceType<NavigationResource,NodeURL> TYPE
public NodeURL(URLContext context) throws NullPointerException
NullPointerExceptionpublic Set<QualifiedName> getParameterNames()
PortalURLgetParameterNames in class PortalURL<NavigationResource,NodeURL>public String getParameterValue(QualifiedName parameterName)
PortalURLgetParameterValue in class PortalURL<NavigationResource,NodeURL>parameterName - the parameter namepublic NavigationResource getResource()
PortalURLgetResource in class PortalURL<NavigationResource,NodeURL>public NodeURL setResource(NavigationResource resource)
PortalURLsetResource in class PortalURL<NavigationResource,NodeURL>resource - the new resourceCopyright © 2017 JBoss by Red Hat. All Rights Reserved.