com.ibm.portal.model
Interface ContentMetaDataModelProvider
public interface ContentMetaDataModelProvider
An interface for a provider of the content node meta data model.
Context ctx = new InitialContext();
ContentMetaDataModelHome home = (ContentMetaDataModelHome) ctx.lookup("portal:service/model/ContentMetaDataModel");
if (home != null) {
ContentMetaDataModel model = home.getContentMetaDataModelProvider().getContentMetaDataModel(aRequest, aResponse);
...
}
- Since:
- 6.0
getContentMetaDataModel
ContentMetaDataModel getContentMetaDataModel(ServletRequest aRequest,
ServletResponse aResponse)
throws ModelException
- Returns the content node meta data model applicable in the current request.
- Parameters:
- aRequest - the current request
- aResponse - the current response
- Returns:
- the model valid in the current request
- Throws:
- ModelException - in case the model cannot be obtained