| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletModelProvider
An interface for a provider of portlet models.
Context ctx = new InitialContext();
PortletModelHome home = (PortletModelHome) ctx.lookup("portal:service/model/PortletModel");
if (home != null) {
PortletModel model = home.getPortletModelProvider().getPortletModel(aPage, aRequest, aResponse);
...
}
Method Summary | |
---|---|
com.ibm.portal.portletmodel.admin">AdminPortletModel | getAdminPortletModel(ServletRequest aRequest,
ServletResponse aResponse)
Returns the administraive portlet model applicable to the current request. |
PortletModel | com.ibm.portal.content.ContentPage, ServletRequest, ServletResponse)">getPortletModel(ContentPage page,
ServletRequest aRequest,
ServletResponse aResponse)
Returns the portlet model applicable to the given page in the current request. |
Method Detail |
---|
PortletModel getPortletModel(ContentPage page, ServletRequest aRequest, ServletResponse aResponse) throws ModelException
com.ibm.portal.portletmodel.admin">AdminPortletModel getAdminPortletModel(ServletRequest aRequest, ServletResponse aResponse) throws ModelException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |