|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Read Only information about the layout service.
Method Summary | |
PortalLayout |
getLayout(ServerRegistrationID id,
boolean defaultOnNull)
Get the layout for the provided registration id. |
PortalLayout |
getLayout(java.lang.String name,
boolean defaultOnNull)
Get the layout for the provided name. |
java.util.Collection |
getLayouts()
Get a Set of portal layouts |
PortalRenderSet |
getRenderSet(LayoutInfo info,
HTTPStreamInfo streamInfo,
MarkupResult result)
|
PortalRenderSet |
getRenderSet(ServerRegistrationID id,
MediaType mediaType)
Retrieves the render set for this Layout. |
PortalRenderSet |
getRenderSet(java.lang.String renderSetName,
MediaType mediaType)
Get the render set for the provided layout. |
java.util.Collection |
getRenderSets()
Retrieves the set of the ServerRegistrationID for registred render set |
java.util.Collection |
getStrategies()
Get a Set of all available portal layout strategies |
LayoutStrategy |
getStrategy(ServerRegistrationID id,
MediaType mediaType)
Retrieves the strategy for this Layout. |
LayoutStrategy |
getStrategy(java.lang.String strategyName,
MediaType mediaType)
Get the layout strategy that matches the provided name and media type |
Method Detail |
public PortalLayout getLayout(ServerRegistrationID id, boolean defaultOnNull)
id
- the registration id of the layout to getdefaultOnNull
- true, if the default layout (if any is defined) should be returned in case the requested
layout is not found
public PortalLayout getLayout(java.lang.String name, boolean defaultOnNull)
name
- the name of the layout to requestdefaultOnNull
- true, if the default layout (if any is defined) should be returned in case the requested
layout is not found
public LayoutStrategy getStrategy(java.lang.String strategyName, MediaType mediaType)
strategyName
- the name of the strategy to getmediaType
- the media type (content-type) to get the strategy for
public LayoutStrategy getStrategy(ServerRegistrationID id, MediaType mediaType)
id
- the registration id of the strategy to retrieve.mediaType
- the media type that must be supported by the strategy to be retrieved
null
otherwise.public PortalRenderSet getRenderSet(java.lang.String renderSetName, MediaType mediaType)
renderSetName
- the name of the renderSet to findmediaType
- the mediatype for which to find the renderSet
public PortalRenderSet getRenderSet(ServerRegistrationID id, MediaType mediaType)
id
- the registration id of the RenderSet to retrieve.mediaType
- the media type that must be supported by the RenderSet to be retrieved
null
otherwise.public java.util.Collection getLayouts()
public java.util.Collection getStrategies()
public java.util.Collection getRenderSets()
public PortalRenderSet getRenderSet(LayoutInfo info, HTTPStreamInfo streamInfo, MarkupResult result)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |