public abstract class PortalRequest extends Object
getInstance()
method.Constructor and Description |
---|
PortalRequest() |
Modifier and Type | Method and Description |
---|---|
static PortalRequest |
getInstance()
Obtain the current instance of a
PortalRequest |
abstract Locale |
getLocale()
The
Locale of the request. |
Navigation |
getNavigation()
The navigation of the current portal request.
|
abstract NodePath |
getNodePath()
The
NodePath of the request. |
Page |
getPage()
The page currently being accessed by the current portal request.
|
abstract Portal |
getPortal()
Access to the portal interface
|
Site |
getSite()
The site represented by the
SiteId of the request. |
abstract SiteId |
getSiteId()
The
SiteId of the request. |
abstract URIResolver |
getURIResolver()
The resolver used to resolve the URI for Nodes.
|
abstract User |
getUser()
The user of the request.
|
protected static void |
setInstance(PortalRequest request) |
public abstract User getUser()
User.anonymous()
is returned.public abstract SiteId getSiteId()
SiteId
of the request.public abstract NodePath getNodePath()
NodePath
of the request.public abstract Locale getLocale()
Locale
of the request.public Site getSite()
SiteId
of the request.public Page getPage()
public Navigation getNavigation()
public abstract Portal getPortal()
public abstract URIResolver getURIResolver()
Node.getURI()
which is the recommended way to
obtain the URI for a Node.public static PortalRequest getInstance()
PortalRequest
protected static void setInstance(PortalRequest request)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.