org.hippoecm.hst.site.request
Class HstPortletRequestContextImpl

java.lang.Object
  extended by org.hippoecm.hst.site.request.HstRequestContextImpl
      extended by org.hippoecm.hst.site.request.HstPortletRequestContextImpl
All Implemented Interfaces:
HstMutablePortletRequestContext, HstMutableRequestContext, HstPortletRequestContext, HstRequestContext

public class HstPortletRequestContextImpl
extends HstRequestContextImpl
implements HstMutablePortletRequestContext

Version:
$Id: HstPortletRequestContextImpl.java 23030 2010-06-07 06:50:46Z adouma $

Field Summary
protected  javax.portlet.PortletConfig portletConfig
           
protected  javax.portlet.PortletRequest portletRequest
           
protected  javax.portlet.PortletResponse portletResponse
           
 
Fields inherited from class org.hippoecm.hst.site.request.HstRequestContextImpl
attributes, baseURL, componentFilterTags, containerConfiguration, contextCredentialsProvider, contextNamespace, embeddingContextPath, fullyQualifiedURLs, hstQueryManagerFactory, linkCreator, locales, parameterInfoProxyFactory, pathSuffix, preferredLocale, renderHost, repository, resolvedEmbeddingMount, resolvedMount, resolvedSiteMapItem, servletContext, servletRequest, servletResponse, session, siteMapMatcher, siteMenus, subject, targetComponentPath, urlFactory
 
Constructor Summary
HstPortletRequestContextImpl(javax.jcr.Repository repository)
           
HstPortletRequestContextImpl(javax.jcr.Repository repository, ContextCredentialsProvider contextCredentialsProvider)
           
 
Method Summary
 javax.portlet.PortletConfig getPortletConfig()
          Returns the PortletConfig serving the HstRequest.
 javax.portlet.PortletRequest getPortletRequest()
          Returns the PortletRequest serving the HstRequest.
 javax.portlet.PortletResponse getPortletResponse()
          Returns the PortletResponse serving the HstResponse.
 boolean isPortletContext()
          Returns true if invoked from a Portlet.
 void setPortletConfig(javax.portlet.PortletConfig portletConfig)
           
 void setPortletRequest(javax.portlet.PortletRequest portletRequest)
           
 void setPortletResponse(javax.portlet.PortletResponse portletResponse)
           
 
Methods inherited from class org.hippoecm.hst.site.request.HstRequestContextImpl
getAttribute, getAttributeNames, getAttributes, getBaseURL, getComponentFilterTags, getContainerConfiguration, getContainerURLProvider, getContextCredentialsProvider, getContextNamespace, getEmbeddingContextPath, getHstLinkCreator, getHstQueryManagerFactory, getHstSiteMenus, getLocales, getMount, getMount, getParameterInfoProxyFactory, getPathSuffix, getPreferredLocale, getRenderHost, getResolvedEmbeddingMount, getResolvedMount, getResolvedSiteMapItem, getServletContext, getServletRequest, getServletResponse, getSession, getSession, getSiteMapMatcher, getSubject, getTargetComponentPath, getURLFactory, getVirtualHost, isCmsRequest, isEmbeddedRequest, isFullyQualifiedURLs, isPreview, removeAttribute, setAttribute, setBaseURL, setComponentFilterTags, setContainerConfiguration, setContextNamespace, setEmbeddingContextPath, setFullyQualifiedURLs, setHstQueryManagerFactory, setHstSiteMenus, setLinkCreator, setLocales, setParameterInfoProxyFactory, setPathSuffix, setPreferredLocale, setRenderHost, setResolvedEmbeddingMount, setResolvedMount, setResolvedSiteMapItem, setServletContext, setServletRequest, setServletResponse, setSession, setSiteMapMatcher, setSubject, setTargetComponentPath, setURLFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hippoecm.hst.core.internal.HstMutableRequestContext
setBaseURL, setComponentFilterTags, setContainerConfiguration, setContextNamespace, setEmbeddingContextPath, setFullyQualifiedURLs, setHstQueryManagerFactory, setHstSiteMenus, setLinkCreator, setLocales, setParameterInfoProxyFactory, setPathSuffix, setPreferredLocale, setRenderHost, setResolvedEmbeddingMount, setResolvedMount, setResolvedSiteMapItem, setServletContext, setServletRequest, setServletResponse, setSession, setSiteMapMatcher, setSubject, setTargetComponentPath, setURLFactory
 
Methods inherited from interface org.hippoecm.hst.core.request.HstRequestContext
getAttribute, getAttributeNames, getAttributes, getBaseURL, getComponentFilterTags, getContainerConfiguration, getContainerURLProvider, getContextCredentialsProvider, getContextNamespace, getEmbeddingContextPath, getHstLinkCreator, getHstQueryManagerFactory, getHstSiteMenus, getLocales, getMount, getMount, getParameterInfoProxyFactory, getPathSuffix, getPreferredLocale, getRenderHost, getResolvedEmbeddingMount, getResolvedMount, getResolvedSiteMapItem, getServletContext, getServletRequest, getServletResponse, getSession, getSession, getSiteMapMatcher, getSubject, getTargetComponentPath, getURLFactory, getVirtualHost, isCmsRequest, isEmbeddedRequest, isFullyQualifiedURLs, isPreview, removeAttribute, setAttribute
 

Field Detail

portletConfig

protected javax.portlet.PortletConfig portletConfig

portletRequest

protected javax.portlet.PortletRequest portletRequest

portletResponse

protected javax.portlet.PortletResponse portletResponse
Constructor Detail

HstPortletRequestContextImpl

public HstPortletRequestContextImpl(javax.jcr.Repository repository)

HstPortletRequestContextImpl

public HstPortletRequestContextImpl(javax.jcr.Repository repository,
                                    ContextCredentialsProvider contextCredentialsProvider)
Method Detail

isPortletContext

public boolean isPortletContext()
Description copied from interface: HstRequestContext
Returns true if invoked from a Portlet. If true, this instance will also implement HstPortletRequestContext.

Specified by:
isPortletContext in interface HstRequestContext
Overrides:
isPortletContext in class HstRequestContextImpl

getPortletConfig

public javax.portlet.PortletConfig getPortletConfig()
Description copied from interface: HstPortletRequestContext
Returns the PortletConfig serving the HstRequest.

Specified by:
getPortletConfig in interface HstPortletRequestContext

setPortletConfig

public void setPortletConfig(javax.portlet.PortletConfig portletConfig)
Specified by:
setPortletConfig in interface HstMutablePortletRequestContext

getPortletRequest

public javax.portlet.PortletRequest getPortletRequest()
Description copied from interface: HstPortletRequestContext
Returns the PortletRequest serving the HstRequest.

Specified by:
getPortletRequest in interface HstPortletRequestContext

setPortletRequest

public void setPortletRequest(javax.portlet.PortletRequest portletRequest)
Specified by:
setPortletRequest in interface HstMutablePortletRequestContext

getPortletResponse

public javax.portlet.PortletResponse getPortletResponse()
Description copied from interface: HstPortletRequestContext
Returns the PortletResponse serving the HstResponse.

Specified by:
getPortletResponse in interface HstPortletRequestContext

setPortletResponse

public void setPortletResponse(javax.portlet.PortletResponse portletResponse)
Specified by:
setPortletResponse in interface HstMutablePortletRequestContext


Copyright © 2008-2012 Hippo. All Rights Reserved.