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


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

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(PortletRequest aRequest, PortletResponse aResponse)
          Deprecated. Returns the content model applicable in the current request.
 

Method Detail

getContentModel

ContentModel getContentModel(PortletRequest aRequest,
                             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