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
Method Summary |
ContentMetaDataModel |
getContentMetaDataModel(javax.servlet.ServletRequest aRequest,
javax.servlet.ServletResponse aResponse)
Returns the content node meta data model applicable in the current request. |
getContentMetaDataModel
ContentMetaDataModel getContentMetaDataModel(javax.servlet.ServletRequest aRequest,
javax.servlet.ServletResponse aResponse)
throws ModelException
- Returns the content node meta data model applicable in the current request.
- Parameters:
aRequest
- the current requestaResponse
- the current response
- Returns:
- the model valid in the current request
- Throws:
ModelException
- in case the model cannot be obtained