org.apache.cocoon.portal.pluto
Class PortalContextProviderImpl

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

public class PortalContextProviderImpl
extends Object
implements org.apache.pluto.services.information.PortalContextProvider

Information about the portal

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

Field Summary
protected  String contextHTTP
          The host name
protected  String contextHTTPS
          The host name
protected  String hostNameHTTP
          The host name
protected  String hostNameHTTPS
          The host name
protected  String info
          Portal information
protected  Vector modes
          supported portlet modes by this portal
protected  HashMap properties
          portal properties
protected  Vector states
          supported window states by this portal
 
Constructor Summary
PortalContextProviderImpl(Map objectModel)
          Constructor
 
Method Summary
 String getBaseURL(boolean secure)
           
 String getBaseURLexcludeContext(boolean secure)
           
protected  Vector getDefaultModes()
          Return all default modes
protected  Vector getDefaultStates()
          Return all default states
 String getPortalInfo()
           
 String getProperty(String name)
           
 Collection getPropertyNames()
           
 Collection getSupportedPortletModes()
           
 Collection getSupportedWindowStates()
           
protected  void init(Map objectModel)
          Initialize some infos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected String info
Portal information


modes

protected Vector modes
supported portlet modes by this portal


states

protected Vector states
supported window states by this portal


properties

protected HashMap properties
portal properties


hostNameHTTP

protected String hostNameHTTP
The host name


hostNameHTTPS

protected String hostNameHTTPS
The host name


contextHTTP

protected String contextHTTP
The host name


contextHTTPS

protected String contextHTTPS
The host name

Constructor Detail

PortalContextProviderImpl

public PortalContextProviderImpl(Map objectModel)
Constructor

Method Detail

getProperty

public String getProperty(String name)
Specified by:
getProperty in interface org.apache.pluto.services.information.PortalContextProvider

getPropertyNames

public Collection getPropertyNames()
Specified by:
getPropertyNames in interface org.apache.pluto.services.information.PortalContextProvider

getSupportedPortletModes

public Collection getSupportedPortletModes()
Specified by:
getSupportedPortletModes in interface org.apache.pluto.services.information.PortalContextProvider

getSupportedWindowStates

public Collection getSupportedWindowStates()
Specified by:
getSupportedWindowStates in interface org.apache.pluto.services.information.PortalContextProvider

getPortalInfo

public String getPortalInfo()
Specified by:
getPortalInfo in interface org.apache.pluto.services.information.PortalContextProvider

getDefaultModes

protected Vector getDefaultModes()
Return all default modes


getDefaultStates

protected Vector getDefaultStates()
Return all default states


init

protected void init(Map objectModel)
Initialize some infos


getBaseURLexcludeContext

public String getBaseURLexcludeContext(boolean secure)

getBaseURL

public String getBaseURL(boolean secure)


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