站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ContainerCapabilities - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.portlet.container.info
Class ContainerCapabilities

java.lang.Object
  extended byorg.jboss.portal.portlet.container.info.ContainerCapabilities
All Implemented Interfaces:
CapabilitiesInfo

public class ContainerCapabilities
extends java.lang.Object
implements CapabilitiesInfo


Constructor Summary
ContainerCapabilities(java.util.Set supportedLocales, PortletResourceBundleManager bundleMgr, ContentTypes contentTypes)
           
 
Method Summary
 java.util.Set getAllLocales()
          Retrieves all the locales supported by the associated Portlet.
 java.util.Set getAllModes()
          Retrieves all the portlet modes supported by the associated Portlet.
 java.util.Set getAllWindowStates()
          Retrieves all the window states supported by the associated Portlet.
 java.util.Set getLocales(java.lang.String mimeType)
          Retrieves the locales supported by the associated Portlet for the specified MIME type.
 java.util.Set getMimeTypes()
          Retrieves all the MIME types supported by the associated Portlet.
 java.util.Set getModes(java.lang.String mimeType)
          Retrieves the portlet modes supported by the associated Portlet for the specified MIME type.
 java.util.Set getWindowStates(java.lang.String mimeType)
          Retrieves the window states supported by the associated Portlet for the specified MIME type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerCapabilities

public ContainerCapabilities(java.util.Set supportedLocales,
                             PortletResourceBundleManager bundleMgr,
                             ContentTypes contentTypes)
                      throws java.lang.Exception
Method Detail

getMimeTypes

public java.util.Set getMimeTypes()
Description copied from interface: CapabilitiesInfo
Retrieves all the MIME types supported by the associated Portlet.

Specified by:
getMimeTypes in interface CapabilitiesInfo
Returns:
a Set of String representation of supported MIME types

getAllModes

public java.util.Set getAllModes()
Description copied from interface: CapabilitiesInfo
Retrieves all the portlet modes supported by the associated Portlet.

Specified by:
getAllModes in interface CapabilitiesInfo
Returns:
a Set of ModeInfo reprensenting the supported portlet modes

getModes

public java.util.Set getModes(java.lang.String mimeType)
Description copied from interface: CapabilitiesInfo
Retrieves the portlet modes supported by the associated Portlet for the specified MIME type.

Specified by:
getModes in interface CapabilitiesInfo
Returns:
a Set of ModeInfo reprensenting the supported portlet modes for the specified MIME type

getAllWindowStates

public java.util.Set getAllWindowStates()
Description copied from interface: CapabilitiesInfo
Retrieves all the window states supported by the associated Portlet.

Specified by:
getAllWindowStates in interface CapabilitiesInfo
Returns:
a Set of WindowStateInfo reprensenting the supported window states

getWindowStates

public java.util.Set getWindowStates(java.lang.String mimeType)
Description copied from interface: CapabilitiesInfo
Retrieves the window states supported by the associated Portlet for the specified MIME type.

Specified by:
getWindowStates in interface CapabilitiesInfo
Returns:
a Set of ModeInfo reprensenting the supported window states for the specified MIME type

getAllLocales

public java.util.Set getAllLocales()
Description copied from interface: CapabilitiesInfo
Retrieves all the locales supported by the associated Portlet.

Specified by:
getAllLocales in interface CapabilitiesInfo
Returns:
the Set of supported Locales

getLocales

public java.util.Set getLocales(java.lang.String mimeType)
Description copied from interface: CapabilitiesInfo
Retrieves the locales supported by the associated Portlet for the specified MIME type.

Specified by:
getLocales in interface CapabilitiesInfo
Returns:
a Set of supported Locales for the specified MIME type