com.ibm.portal.ibmportlet.service.model
Interface ContentModelProvider

All Superinterfaces:
org.apache.jetspeed.portlet.service.PortletService

Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public interface ContentModelProvider
extends org.apache.jetspeed.portlet.service.PortletService

An interface for a provider of content models.

ContentModelProvider provider = (ContentModelProvider) aPortletContext.getService(com.ibm.portal.ibmportlet.service.model.ContentModelProvider.class);
if (provider != null) {
ContentModel model = provider.getContentModel(aRequest, aResponse);
...
}

Since:
5.1.0.1

Method Summary
 ContentModel getContentModel(org.apache.jetspeed.portlet.PortletRequest aRequest, org.apache.jetspeed.portlet.PortletResponse aResponse)
          Deprecated. Returns the content model applicable in the current request.
 

Method Detail

getContentModel

ContentModel getContentModel(org.apache.jetspeed.portlet.PortletRequest aRequest,
                             org.apache.jetspeed.portlet.PortletResponse aResponse)
                             throws ModelException
Deprecated. 
Returns the content model applicable in the current request.

Parameters:
aRequest - the current request
aResponse - the current response
Returns:
the content model valid in the current request
Throws:
ModelException - in case the model cannot be obtained