com.ibm.portal.cor.service
Interface MappingURLTreeModelProvider


Deprecated. Use com.ibm.portal.cor.service.VanityURLModelProvider

public interface MappingURLTreeModelProvider

An interface for a provider of content models. javax.naming.Context ctx = new javax.naming.InitialContext();
MappingURLTreeModelHome home = (MappingURLTreeModelHome) ctx.lookup(MappingURLTreeModelHome.JNDI_NAME);
if (home != null) {
MappingURLTreeModel model = home.getMappingURLTreeModelProvider().getMappingURLTreeModel(corCtx);
...
}

Since:
8.0
See Also:
MappingURLTreeModelHome

Method Summary
 MappingURLTreeModel getMappingURLTreeModel(Context aCtx)
          Deprecated. Returns the MappingURLTreeModel applicable in the COR context request.
 

Method Detail

getMappingURLTreeModel

MappingURLTreeModel getMappingURLTreeModel(Context aCtx)
                                           throws ModelException
Deprecated. 
Returns the MappingURLTreeModel applicable in the COR context request.

Parameters:
aCtx - the COR context
Returns:
the MappingURLTreeModel valid in the current context
Throws:
ModelException - in case the model cannot be obtained