com.ibm.portal.cor.service
Interface ContentMetaDataModelProvider
public interface ContentMetaDataModelProvider
An interface for a provider of content meta data models.
javax.naming.Context ctx = new javax.naming.InitialContext();
ContentMetaDataModelHome home = (ContentModelHome) ctx.lookup(ContentMetaDataModelHome.JNDI_NAME);
if (home != null) {
ContentModel model = home.getContentModelProvider().getContentModel(corCtx);
...
}
- Since:
- 8.0.0
- See Also:
ContentMetaDataModelHome
getContentMetaDataModel
ContentMetaDataModel getContentMetaDataModel(Context aCtx)
throws ModelException
- Returns the content node meta data model applicable in the COR context
request.
- Parameters:
aCtx
- the COR context
- Returns:
- the model valid in the current context
- Throws:
ModelException
- in case the model cannot be obtained