{ } }
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.model
Interface PortletModelProvider
public interface PortletModelProviderAn interface for a provider of portlet models. Context ctx = new InitialContext();
PortletModelHome home = (PortletModelHome) ctx.lookup(PortletModelHome.JNDI_NAME);
if (home != null) {
PortletModel model = home.getPortletModelProvider().getPortletModel(aPage, aRequest, aResponse);
...
}
- Since:
- 6.0.1
Method Summary AdminPortletModel getAdminPortletModel(ServletRequest aRequest, ServletResponse aResponse)
Returns the administraive portlet model applicable to the current request.PortletModel getPortletModel(ContentPage page, ServletRequest aRequest, ServletResponse aResponse)
Returns the portlet model applicable to the given page in the current request.
Method Detail getPortletModel
PortletModel getPortletModel(ContentPage page, ServletRequest aRequest, ServletResponse aResponse) throws ModelException
- Returns the portlet model applicable to the given page in the current request.
- Parameters:
- aRequest - the current request
- aResponse - the current response
- Returns:
- the portlet model valid in the current request
- Throws:
- ModelException - in case the model cannot be obtained
getAdminPortletModel
AdminPortletModel getAdminPortletModel(ServletRequest aRequest, ServletResponse aResponse) throws ModelException
- Returns the administraive portlet model applicable to the current request.
- Parameters:
- aRequest - the current request - can be null
- aResponse - the current response - can be null
- Returns:
- the adminstrative portlet model valid in the current request
- Throws:
- ModelException - in case the model cannot be obtained
Tree PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD