|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to a content type and its supported
portlet modes.
A content type is defined as part of a portlet application in the
portlet.xml. It is accessible via the ServletDefinition as it is
bound to the application code.
This interface defines the model as known from the MVC pattern. Its purpose is to provide read access to the data stored in the model.
Method Summary | |
java.lang.String |
getContentType()
Returns the content type The return value cannot be NULL. |
java.util.Iterator |
getPortletModes()
Returns all portlet modes for this content type |
boolean |
supportsPortletMode(javax.portlet.PortletMode portletMode)
Returns true if the given portlet mode is supported for this content type. |
Method Detail |
public java.lang.String getContentType()
public java.util.Iterator getPortletModes()
javax.portlet.PortletMode
objectspublic boolean supportsPortletMode(javax.portlet.PortletMode portletMode)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |