|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.impl.info.ContainerCapabilitiesInfo
public class ContainerCapabilitiesInfo
This object holds the content type and mode capabilities.
| Constructor Summary | |
|---|---|
ContainerCapabilitiesInfo()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String contentType,
org.jboss.portal.portlet.impl.info.ContainerModeInfo mode)
|
void |
add(java.lang.String contentType,
org.jboss.portal.portlet.impl.info.ContainerWindowStateInfo windowState)
|
void |
add(java.lang.String contentType,
org.jboss.portal.Mode mode)
|
void |
add(java.lang.String contentType,
org.jboss.portal.WindowState windowState)
|
void |
addLocale(java.util.Locale locale)
|
java.util.Set<java.util.Locale> |
getAllLocales()
Retrieves all the locales supported by the associated Portlet. |
java.util.Set<ModeInfo> |
getAllModes()
Retrieves all the portlet modes supported by the associated Portlet. |
java.util.Set<WindowStateInfo> |
getAllWindowStates()
Retrieves all the window states supported by the associated Portlet. |
java.util.Set<java.util.Locale> |
getLocales(org.jboss.portal.common.net.media.MediaType mimeType)
Retrieves the locales supported by the associated Portlet for the specified MIME type. |
java.util.Set<org.jboss.portal.common.net.media.MediaType> |
getMediaTypes()
Retrieves all the Media types supported by the associated Portlet. |
ModeInfo |
getMode(org.jboss.portal.Mode value)
Returns a mode info matching a specifed mode or null. |
java.util.Set<ModeInfo> |
getModes(org.jboss.portal.common.net.media.MediaType mimeType)
Retrieves the portlet modes supported by the associated Portlet for the specified Media type. |
WindowStateInfo |
getWindowState(org.jboss.portal.WindowState value)
Returns a window state info matching a specifed window state or null. |
java.util.Set<WindowStateInfo> |
getWindowStates(org.jboss.portal.common.net.media.MediaType 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 |
|---|
public ContainerCapabilitiesInfo()
| Method Detail |
|---|
public void addLocale(java.util.Locale locale)
public void add(java.lang.String contentType,
org.jboss.portal.Mode mode)
public void add(java.lang.String contentType,
org.jboss.portal.portlet.impl.info.ContainerModeInfo mode)
public void add(java.lang.String contentType,
org.jboss.portal.WindowState windowState)
public void add(java.lang.String contentType,
org.jboss.portal.portlet.impl.info.ContainerWindowStateInfo windowState)
public java.util.Set<ModeInfo> getModes(org.jboss.portal.common.net.media.MediaType mimeType)
CapabilitiesInfo
getModes in interface CapabilitiesInfomimeType - the media type
ModeInfo reprensenting the supported portlet modes for the specified Media typepublic java.util.Set<WindowStateInfo> getWindowStates(org.jboss.portal.common.net.media.MediaType mimeType)
CapabilitiesInfo
getWindowStates in interface CapabilitiesInfomimeType - the mime type
ModeInfo reprensenting the supported window states for the specified MIME typepublic java.util.Set<java.util.Locale> getLocales(org.jboss.portal.common.net.media.MediaType mimeType)
CapabilitiesInfo
getLocales in interface CapabilitiesInfomimeType - the mime type
Locales for the specified MIME typepublic java.util.Set<org.jboss.portal.common.net.media.MediaType> getMediaTypes()
CapabilitiesInfo
getMediaTypes in interface CapabilitiesInfopublic java.util.Set<ModeInfo> getAllModes()
CapabilitiesInfo
getAllModes in interface CapabilitiesInfoModeInfo reprensenting the supported portlet modespublic ModeInfo getMode(org.jboss.portal.Mode value)
CapabilitiesInfo
getMode in interface CapabilitiesInfovalue - the mode
public java.util.Set<WindowStateInfo> getAllWindowStates()
CapabilitiesInfo
getAllWindowStates in interface CapabilitiesInfoWindowStateInfo reprensenting the supported window statespublic WindowStateInfo getWindowState(org.jboss.portal.WindowState value)
CapabilitiesInfo
getWindowState in interface CapabilitiesInfovalue - the window state
public java.util.Set<java.util.Locale> getAllLocales()
CapabilitiesInfo
getAllLocales in interface CapabilitiesInfoLocales
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||