|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.portal.controllers.AbstractPortletController
Field Summary | |
int |
DEFAULT_PADDING
Default padding to be displayed between portlets |
Constructor Summary | |
AbstractPortletController()
|
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 map source. |
protected org.apache.ecs.ConcreteElement |
getContent(PortletSet set,
org.apache.turbine.util.RunData data)
|
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData rundata)
Renders the content of the PortletSet for the current request |
protected org.apache.ecs.ConcreteElement |
getHTMLContent(PortletSet set,
org.apache.turbine.util.RunData data)
|
int |
getPadding()
Returns the padding value between the displayed portlets |
PortletSet |
getPortlets()
Returns the PortletSet to render by this controller |
java.lang.String |
getWidth()
|
protected org.apache.ecs.ConcreteElement |
getWMLContent(PortletSet set,
org.apache.turbine.util.RunData data)
|
void |
init()
Initialize this PortletController. |
void |
setConfig(PortletControllerConfig conf)
Allows the user to override the default set of portlets... |
void |
setPadding(int padding)
Sets the padding space to be put between portlets |
void |
setPadding(java.lang.String padding)
Sets the padding space to be put between portlets |
void |
setPortlets(PortletSet portlets)
Allows the user to override the default set of portlets... |
void |
setWidth(java.lang.String width)
|
boolean |
supportsType(MimeType mimeType)
Tests whether the controller supports outputting content for a specific mime type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int DEFAULT_PADDING
Constructor Detail |
public AbstractPortletController()
Method Detail |
public final void setConfig(PortletControllerConfig conf)
setConfig
in interface PortletController
conf
- the controller configurationpublic final PortletControllerConfig getConfig()
PortletController
getConfig
in interface PortletController
public final void setPortlets(PortletSet portlets)
setPortlets
in interface PortletController
portlets
- the portlet set to renderpublic final PortletSet getPortlets()
PortletController
getPortlets
in interface PortletController
public java.lang.String getWidth()
public void setWidth(java.lang.String width)
public int getPadding()
public void setPadding(int padding)
public void setPadding(java.lang.String padding)
public void init()
PortletController
init
in interface PortletController
public boolean supportsType(MimeType mimeType)
PortletController
supportsType
in interface PortletController
mimeType
- the requested mime type
Portlet#supportsType
public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData rundata)
PortletController
getContent
in interface PortletController
rundata
- the RunData for the request
protected org.apache.ecs.ConcreteElement getContent(PortletSet set, org.apache.turbine.util.RunData data)
protected org.apache.ecs.ConcreteElement getWMLContent(PortletSet set, org.apache.turbine.util.RunData data)
protected org.apache.ecs.ConcreteElement getHTMLContent(PortletSet set, org.apache.turbine.util.RunData data)
public PortletSet.Constraints getConstraints(java.util.Map original)
getConstraints
in interface PortletController
original
- the source for this constraint object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |