org.apache.cocoon.portal.pluto
Class DynamicInformationProviderImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.DynamicInformationProviderImpl
All Implemented Interfaces:
org.apache.pluto.services.information.DynamicInformationProvider

public class DynamicInformationProviderImpl
extends Object
implements org.apache.pluto.services.information.DynamicInformationProvider

Our own dynamic information provider

Version:
CVS $Id: DynamicInformationProviderImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
protected  ServiceManager manager
          Service manager
protected  PortalContextProviderImpl provider
          The portal context provider
protected static HashSet responseMimeTypes
           
 
Constructor Summary
DynamicInformationProviderImpl(ServiceManager manager, PortalContextProviderImpl provider)
          Constructor
 
Method Summary
 org.apache.pluto.services.information.PortletActionProvider getPortletActionProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 javax.portlet.PortletMode getPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 org.apache.pluto.services.information.PortletURLProvider getPortletURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 org.apache.pluto.services.information.ResourceURLProvider getResourceURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 String getResponseContentType()
           
 Iterator getResponseContentTypes()
           
 javax.portlet.WindowState getWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
           
 boolean isWindowStateAllowed(javax.portlet.WindowState state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected final ServiceManager manager
Service manager


provider

protected final PortalContextProviderImpl provider
The portal context provider


responseMimeTypes

protected static final HashSet responseMimeTypes
Constructor Detail

DynamicInformationProviderImpl

public DynamicInformationProviderImpl(ServiceManager manager,
                                      PortalContextProviderImpl provider)
Constructor

Method Detail

getPortletURLProvider

public org.apache.pluto.services.information.PortletURLProvider getPortletURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
Specified by:
getPortletURLProvider in interface org.apache.pluto.services.information.DynamicInformationProvider

getResourceURLProvider

public org.apache.pluto.services.information.ResourceURLProvider getResourceURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
Specified by:
getResourceURLProvider in interface org.apache.pluto.services.information.DynamicInformationProvider

getPortletActionProvider

public org.apache.pluto.services.information.PortletActionProvider getPortletActionProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
Specified by:
getPortletActionProvider in interface org.apache.pluto.services.information.DynamicInformationProvider
See Also:
DynamicInformationProvider.getPortletActionProvider(org.apache.pluto.om.window.PortletWindow)

getPortletMode

public javax.portlet.PortletMode getPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
Specified by:
getPortletMode in interface org.apache.pluto.services.information.DynamicInformationProvider
See Also:
DynamicInformationProvider.getPortletMode(org.apache.pluto.om.window.PortletWindow)

getWindowState

public javax.portlet.WindowState getWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
Specified by:
getWindowState in interface org.apache.pluto.services.information.DynamicInformationProvider
See Also:
DynamicInformationProvider.getWindowState(org.apache.pluto.om.window.PortletWindow)

getResponseContentType

public String getResponseContentType()
Specified by:
getResponseContentType in interface org.apache.pluto.services.information.DynamicInformationProvider
See Also:
DynamicInformationProvider.getResponseContentType()

getResponseContentTypes

public Iterator getResponseContentTypes()
Specified by:
getResponseContentTypes in interface org.apache.pluto.services.information.DynamicInformationProvider

isPortletModeAllowed

public boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
Specified by:
isPortletModeAllowed in interface org.apache.pluto.services.information.DynamicInformationProvider

isWindowStateAllowed

public boolean isWindowStateAllowed(javax.portlet.WindowState state)
Specified by:
isWindowStateAllowed in interface org.apache.pluto.services.information.DynamicInformationProvider


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.