|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ContentTypeComposite
Combines the org.apache.pluto.common.ContentType
and org.apache.pluto.common.ContentTypeCtrl
interfaces
into single interface for use in Jetspeed.
Method Summary | |
void |
addPortletMode(javax.portlet.PortletMode mode)
Adds a mode to be supported by this ContentType . |
void |
setContentType(String contentType)
|
void |
setPortletModes(Collection modes)
|
boolean |
supportsPortletMode(javax.portlet.PortletMode mode)
Checks whether or not the mode
is supported by this ContentType |
Methods inherited from interface org.apache.pluto.om.portlet.ContentType |
getContentType, getPortletModes |
Method Detail |
public void setPortletModes(Collection modes)
public void addPortletMode(javax.portlet.PortletMode mode)
ContentType
. If the mode
already exists, the same mode is NOT added again.
mode
- portlet mode to add.public boolean supportsPortletMode(javax.portlet.PortletMode mode)
mode
is supported by this ContentType
supportsPortletMode
in interface org.apache.pluto.om.portlet.ContentType
mode
- portlet mode to check
true
if the mode
is
supported, otherwise false
.public void setContentType(String contentType)
contentType
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |