public interface NavigationalStateComponent
Modifier and Type | Method and Description |
---|---|
NavigationalState |
create()
Creates a navigational state.
|
PortalURL |
createDesktopURL(javax.servlet.http.HttpServletRequest request,
String characterEncoding)
Creates a Desktop Portal URL representing the URL of the request.
|
PortalURL |
createURL(javax.servlet.http.HttpServletRequest request,
String characterEncoding)
Creates a Portal URL representing the URL of the request.
|
javax.portlet.PortletMode |
lookupPortletMode(String name)
Given a portlet mode name, look up its object.
|
javax.portlet.WindowState |
lookupWindowState(String name)
Given a window state name, look up its object.
|
NavigationalState create()
null
FailedToCreateNavStateException
- if the nav state could not be created. Under normal
circumstances, this should not happen.PortalURL createURL(javax.servlet.http.HttpServletRequest request, String characterEncoding)
request
- The ubiqitious request.characterEncoding
- String containing the name of the chararacter encodingnull
;FailedToCreatePortalUrlException
- if the portelt url could not be created. Under normal
circumstances, this should not happen.javax.portlet.WindowState lookupWindowState(String name)
name
- The string representation of the window state.javax.portlet.PortletMode lookupPortletMode(String name)
name
- The string representation of the portlet mode.PortalURL createDesktopURL(javax.servlet.http.HttpServletRequest request, String characterEncoding)
request
- The ubiqitious request.characterEncoding
- String containing the name of the chararacter encodingnull
;FailedToCreatePortalUrlException
- if the portelt url could not be created. Under normal
circumstances, this should not happen.Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.