|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.container.state.impl.JetspeedNavigationalStateComponent
public class JetspeedNavigationalStateComponent
JetspeedNavigationalStateComponent
| Constructor Summary | |
|---|---|
JetspeedNavigationalStateComponent(java.lang.String navBeanName,
java.lang.String urlBeanName,
PortalContext portalContext,
java.lang.String desktopUrlBeanName)
|
|
| Method Summary | |
|---|---|
NavigationalState |
create()
create |
PortalURL |
createDesktopURL(javax.servlet.http.HttpServletRequest request,
java.lang.String characterEncoding)
Creates a Desktop Portal URL representing the URL of the request. |
PortalURL |
createURL(javax.servlet.http.HttpServletRequest request,
java.lang.String characterEncoding)
createURL |
javax.portlet.PortletMode |
lookupPortletMode(java.lang.String name)
Given a portlet mode name, look up its object. |
javax.portlet.WindowState |
lookupWindowState(java.lang.String name)
Given a window state name, look up its object. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JetspeedNavigationalStateComponent(java.lang.String navBeanName,
java.lang.String urlBeanName,
PortalContext portalContext,
java.lang.String desktopUrlBeanName)
throws java.lang.ClassNotFoundException
navBeanName - name of the bean implementing Navigational State instancesurlBeanName - name of the bean implementing Portal URL instancesnavCodecBeanName - name of the bean implementing Navigational State Codec instance
java.lang.ClassNotFoundException - if navClassName or urlClassName
do not exist.| Method Detail |
|---|
public NavigationalState create()
throws FailedToCreateNavStateException
create
create in interface NavigationalStateComponentFailedToCreateNavStateException - if the nav state could not be created. Under normal
circumstances, this should not happen.org.apache.jetspeed.container.state.NavigationalStateComponent#create(org.apache.jetspeed.request.RequestContext)
public PortalURL createURL(javax.servlet.http.HttpServletRequest request,
java.lang.String characterEncoding)
createURL
createURL in interface NavigationalStateComponentcontext -
org.apache.jetspeed.container.state.NavigationalStateComponent#createURL(org.apache.jetspeed.request.RequestContext)public javax.portlet.WindowState lookupWindowState(java.lang.String name)
NavigationalStateComponent
lookupWindowState in interface NavigationalStateComponentname - The string representation of the window state.
public javax.portlet.PortletMode lookupPortletMode(java.lang.String name)
NavigationalStateComponent
lookupPortletMode in interface NavigationalStateComponentname - The string representation of the portlet mode.
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException
public PortalURL createDesktopURL(javax.servlet.http.HttpServletRequest request,
java.lang.String characterEncoding)
NavigationalStateComponent
createDesktopURL in interface NavigationalStateComponentrequest - The ubiqitious request.characterEncoding - String containing the name of the chararacter encoding
null;
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||