|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.jsf.PageContext
public class PageContext
Represents the context for an active JSF based page.
The PageContext is a JSF managed bean in request scope.
Constructor Summary | |
---|---|
PageContext()
Default constructor. |
Method Summary | |
---|---|
static PageContext |
extract()
Extract the PageContext from the Faces context instance. |
static MessageBroker |
extractMessageBroker()
Extract the MessageBroker from the Faces context instance. |
ApplicationConfiguration |
getApplicationConfiguration()
Gets application configuration. |
String |
getCaption()
Gets the page caption. |
String |
getCaptionResourceKey()
Gets the resource key associated with the page caption. |
String |
getContextPath()
Gets the context path. |
IdentitySupport |
getIdentitySupport()
Gets the supported identity functions. |
String |
getLanguage()
Gets language code (lowercase). |
MenuStyleMap |
getMenuStyleMap()
Gets the menu link style map. |
String |
getPageId()
Gets the page id. |
String |
getPrepareView()
Gets expression used to prepare view. |
String |
getResourceMessage(String resourceKey)
Gets resource message associated with a key. |
RoleMap |
getRoleMap()
Gets the role map associated with the active user. |
String |
getSiteTitle()
Gets the site title. |
String |
getTabId()
Gets tab id. |
TabStyleMap |
getTabStyleMap()
Gets the menu link style map. |
TocsByKey |
getTocsByKey()
Gets the toc collection map. |
User |
getUser()
Gets the user associated with the active request. |
String |
getVersion()
Gets the application version. |
String |
getWelcomeMessage()
Gets the welcome message. |
void |
setCaption(String caption)
Sets the page caption. |
void |
setCaptionResourceKey(String resourceKey)
Sets the resource key associated with the page caption. |
void |
setPageId(String id)
Sets the page id. |
void |
setPrepareView(String prepareView)
Sets expression used to prepare view. |
void |
setTabId(String tabId)
Sets tab id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageContext()
Method Detail |
---|
public String getCaption()
public void setCaption(String caption)
caption
- the captionpublic String getCaptionResourceKey()
public void setCaptionResourceKey(String resourceKey)
resourceKey
- the resource keypublic String getTabId()
public void setTabId(String tabId)
tabId
- tab idpublic String getContextPath()
public ApplicationConfiguration getApplicationConfiguration()
public IdentitySupport getIdentitySupport()
public String getLanguage()
public MenuStyleMap getMenuStyleMap()
public String getPageId()
public void setPageId(String id)
id
- the page idpublic String getResourceMessage(String resourceKey)
public RoleMap getRoleMap()
public String getSiteTitle()
public TabStyleMap getTabStyleMap()
public TocsByKey getTocsByKey()
public User getUser()
public String getVersion()
public String getWelcomeMessage()
public String getPrepareView()
public void setPrepareView(String prepareView)
prepareView
- expression used to prepare viewpublic static PageContext extract()
public static MessageBroker extractMessageBroker()
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |