|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PortletController is responsible for laying out and rendering the content of a PortletSet.
As such, it also provides 2 additionnal services :
Method Summary | |
PortletControllerConfig |
getConfig()
Returns the configuration object for this object |
PortletSet.Constraints |
getConstraints(java.util.Map original)
Creates a constraint object based on an original source. |
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData rundata)
Renders the content of the PortletSet for the current request |
PortletSet |
getPortlets()
Returns the PortletSet to render by this controller |
void |
init()
Initialize this PortletController. |
void |
setConfig(PortletControllerConfig conf)
Sets the configuration object for this controller instance |
void |
setPortlets(PortletSet portlets)
Sets the PotletSet to render by this controller |
boolean |
supportsType(MimeType mimeType)
Tests whether the controller supports outputting content for a specific mime type |
Method Detail |
public void init()
public void setConfig(PortletControllerConfig conf)
conf
- the controller configurationpublic PortletControllerConfig getConfig()
public void setPortlets(PortletSet portlets)
portlets
- the portlet set to renderpublic PortletSet getPortlets()
public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData rundata)
rundata
- the RunData for the request
public boolean supportsType(MimeType mimeType)
mimeType
- the requested mime type
public PortletSet.Constraints getConstraints(java.util.Map original)
original
- the source for this constraint object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |