org.apache.cocoon.portal.pluto
Class DynamicInformationProviderImpl

java.lang.Object
  extended byorg.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:
$Id: DynamicInformationProviderImpl.java 326047 2005-10-18 07:56:18Z cziegeler $

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)
           
 javax.portlet.PortletMode getPreviousPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 javax.portlet.WindowState getPreviousWindowState(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
See Also:
DynamicInformationProvider.getPortletURLProvider(org.apache.pluto.om.window.PortletWindow)

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)

getPreviousPortletMode

public javax.portlet.PortletMode getPreviousPortletMode(org.apache.pluto.om.window.PortletWindow 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)

getPreviousWindowState

public javax.portlet.WindowState getPreviousWindowState(org.apache.pluto.om.window.PortletWindow 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
See Also:
DynamicInformationProvider.getResponseContentTypes()

isPortletModeAllowed

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

isWindowStateAllowed

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


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.