|
||||||||||
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.
PortletModelProvider provider = (PortletModelProvider) aPortletContext.getService(com.ibm.portal.ibmportlet.service.model.PortletModelProvider.class);
if (provider != null) {
PortletModel model = provider.getPortletModel(aRequest, aResponse);
...
}
Method Summary | |
---|---|
AdminPortletModel |
getAdminPortletModel(org.apache.jetspeed.portlet.PortletRequest aRequest,
org.apache.jetspeed.portlet.PortletResponse aResponse)
Deprecated. Returns the administraive portlet model applicable to the current portlet request. |
PortletWindow |
getCurrentPortletWindow(org.apache.jetspeed.portlet.PortletRequest aRequest)
Deprecated. Returns the portlet window for the given portlet request |
PortletModel |
getPortletModel(org.apache.jetspeed.portlet.PortletRequest aRequest,
org.apache.jetspeed.portlet.PortletResponse aResponse)
Deprecated. Returns the portlet model applicable in the current portlet request. |
Method Detail |
---|
PortletModel getPortletModel(org.apache.jetspeed.portlet.PortletRequest aRequest, org.apache.jetspeed.portlet.PortletResponse aResponse) throws ModelException
aRequest
- the current requestaResponse
- the current response
ModelException
- in case the model cannot be obtainedAdminPortletModel getAdminPortletModel(org.apache.jetspeed.portlet.PortletRequest aRequest, org.apache.jetspeed.portlet.PortletResponse aResponse) throws ModelException
aRequest
- the current requestaResponse
- the current response, may be null
ModelException
- in case the model cannot be obtainedPortletWindow getCurrentPortletWindow(org.apache.jetspeed.portlet.PortletRequest aRequest) throws ModelException
aRequest
- the current request
ModelException
- in case the portlet window cannot be obtained
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |