|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CapabilitiesInfo
Gathers capability information (portlet modes, window states, supported media types and locales) regarding a portlet.
| Method Summary | |
|---|---|
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 mode)
Returns a mode info matching a specifed mode or null. |
java.util.Set<ModeInfo> |
getModes(org.jboss.portal.common.net.media.MediaType mediaType)
Retrieves the portlet modes supported by the associated Portlet for the specified Media type. |
WindowStateInfo |
getWindowState(org.jboss.portal.WindowState windowState)
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. |
| Method Detail |
|---|
java.util.Set<org.jboss.portal.common.net.media.MediaType> getMediaTypes()
java.util.Set<ModeInfo> getAllModes()
ModeInfo reprensenting the supported portlet modesjava.util.Set<ModeInfo> getModes(org.jboss.portal.common.net.media.MediaType mediaType)
mediaType - the media type
ModeInfo reprensenting the supported portlet modes for the specified Media typeModeInfo getMode(org.jboss.portal.Mode mode)
mode - the mode
java.util.Set<WindowStateInfo> getAllWindowStates()
WindowStateInfo reprensenting the supported window statesjava.util.Set<WindowStateInfo> getWindowStates(org.jboss.portal.common.net.media.MediaType mimeType)
mimeType - the mime type
ModeInfo reprensenting the supported window states for the specified MIME typeWindowStateInfo getWindowState(org.jboss.portal.WindowState windowState)
windowState - the window state
java.util.Set<java.util.Locale> getAllLocales()
Localesjava.util.Set<java.util.Locale> getLocales(org.jboss.portal.common.net.media.MediaType mimeType)
mimeType - the mime type
Locales for the specified MIME type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||