+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.cor.service
Interface ContentModelProvider

public interface ContentModelProvider

An interface for a provider of content models. javax.naming.Context ctx = new javax.naming.InitialContext();
ContentModelHome home = (ContentModelHome) ctx.lookup(ContentModelHome.JNDI_NAME);
if (home != null) {
ContentModel model = home.getContentModelProvider().getContentModel(corCtx);
...
}

Since:
6.1.0.1
See Also:
ContentModelHome

Method Summary
<T extends ContentNode>
ContentModel<T>
getContentModel(Context aCtx)
          Return the content model applicable in the COR context request.
 

Method Detail

getContentModel

<T extends ContentNode> ContentModel<T> getContentModel(Context aCtx)
                                                    throws ModelException
Returns the content model applicable in the COR context request.

Parameters:
aCtx - the COR context
Returns:
the content model valid in the current context
Throws:
ModelException - in case the model cannot be obtained
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD