org.exoplatform.services.portletcontainer
Class PortletContainerConf

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.PortletContainerConf

public class PortletContainerConf
extends Object

Created by the Exo Development team. Author : Mestrallet Benjamin . benjmestrallet@users.sourceforge.net Date: 10 nov. 2003 Time: 11:38:24


Constructor Summary
PortletContainerConf(org.exoplatform.container.xml.InitParams params, org.exoplatform.container.configuration.ConfigurationManager cmanager)
           
 
Method Summary
 String getDescription()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 String getName()
           
 Map<String,String> getProperties()
           
 Collection<String> getSupportedContent()
           
 Enumeration<javax.portlet.PortletMode> getSupportedPortletModes()
           
 Collection<CustomModeWithDescription> getSupportedPortletModesWithDescriptions()
           
 Enumeration<javax.portlet.WindowState> getSupportedWindowStates()
           
 Collection<CustomWindowStateWithDescription> getSupportedWindowStatesWithDescriptions()
           
 boolean isBundleLookupDelegated()
           
 boolean isCacheEnable()
           
 boolean isHookPortletExceptions()
           
 boolean isModeSupported(javax.portlet.PortletMode mode)
           
 boolean isStateSupported(javax.portlet.WindowState state)
           
 void setDescription(String description)
           
 void setMajorVersion(int version)
           
 void setMinorVersion(int version)
           
 void setName(String name)
           
 void setProperties(Map<String,String> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletContainerConf

public PortletContainerConf(org.exoplatform.container.xml.InitParams params,
                            org.exoplatform.container.configuration.ConfigurationManager cmanager)
Parameters:
params - init params
cmanager - configuration manager
Method Detail

getProperties

public final Map<String,String> getProperties()
Returns:
properties

setProperties

public final void setProperties(Map<String,String> properties)
Parameters:
properties - properties

getName

public final String getName()
Returns:
name

setName

public final void setName(String name)
Parameters:
name - name

getDescription

public final String getDescription()
Returns:
description

setDescription

public final void setDescription(String description)
Parameters:
description - description

getMajorVersion

public final int getMajorVersion()
Returns:
major version

setMajorVersion

public final void setMajorVersion(int version)
Parameters:
version - major version

getMinorVersion

public final int getMinorVersion()
Returns:
minor version

setMinorVersion

public final void setMinorVersion(int version)
Parameters:
version - minor version

getSupportedContent

public final Collection<String> getSupportedContent()
Returns:
supported content types

getSupportedPortletModes

public final Enumeration<javax.portlet.PortletMode> getSupportedPortletModes()
Returns:
all portlet modes supported

getSupportedWindowStates

public final Enumeration<javax.portlet.WindowState> getSupportedWindowStates()
Returns:
all window states supported

getSupportedPortletModesWithDescriptions

public final Collection<CustomModeWithDescription> getSupportedPortletModesWithDescriptions()
Returns:
custom portlet modes

getSupportedWindowStatesWithDescriptions

public final Collection<CustomWindowStateWithDescription> getSupportedWindowStatesWithDescriptions()
Returns:
custom window states

isModeSupported

public final boolean isModeSupported(javax.portlet.PortletMode mode)
Parameters:
mode - mode to check
Returns:
either the mode is supported

isStateSupported

public final boolean isStateSupported(javax.portlet.WindowState state)
Parameters:
state - state to check
Returns:
either the state is supported

isCacheEnable

public final boolean isCacheEnable()
Returns:
is cache enabled

isBundleLookupDelegated

public final boolean isBundleLookupDelegated()
Returns:
either bundle look up delegated

isHookPortletExceptions

public boolean isHookPortletExceptions()


Copyright © 2009 eXo Platform SAS. All Rights Reserved.