com.ibm.portal.content
Interface ContentModelController<T extends ContentNode,M extends ModifiableContentNode>

All Superinterfaces:
Committable, ContentModel<T>, Controller, Disposable, Invalidatable, InvalidatableTreeModel<T>, LocatorProvider<T>, ModelController<T,M>, SearchableTreeModel<T>, SearchableTreeModelController<T,M>, TreeModel<T>, TreeModelController<T,M>

public interface ContentModelController<T extends ContentNode,M extends ModifiableContentNode>
extends ContentModel<T>, SearchableTreeModelController<T,M>, Committable

A controller interface for the ContentModel interface.

Since:
6.1.0

Method Summary
<E extends LayoutNode,G extends ModifiableLayoutNode>
LayoutModelController<E,G>
com.ibm.portal.content.ContentPage)">getLayoutModelController(ContentPage aContentPage)
          Returns a layout model controller for the specified content page.
 
Methods inherited from interface com.ibm.portal.content.ContentModel
com.ibm.portal.content.ContentPage)">getLayoutModel
 
Methods inherited from interface com.ibm.portal.TreeModel
getChildren, getParent, getRoot, hasChildren
 
Methods inherited from interface com.ibm.portal.Invalidatable
invalidate, invalidate
 
Methods inherited from interface com.ibm.portal.TreeModel
getChildren, getParent, getRoot, hasChildren
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 
Methods inherited from interface com.ibm.portal.TreeModelController
confirmDelete, confirmInsert, delete, insert
 
Methods inherited from interface com.ibm.portal.TreeModel
getChildren, getParent, getRoot, hasChildren
 
Methods inherited from interface com.ibm.portal.ModelController
confirmCreate, create, getModifiableNode, resolve
 
Methods inherited from interface com.ibm.portal.TreeModel
getChildren, getParent, getRoot, hasChildren
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 
Methods inherited from interface com.ibm.portal.Committable
commit, dispose
 

Method Detail
com.ibm.portal.content.ContentPage)">

getLayoutModelController

<E extends LayoutNode,G extends ModifiableLayoutNode> LayoutModelController<E,G> getLayoutModelController(ContentPage aContentPage)
                                                                                                    throws CannotInstantiateControllerException
Returns a layout model controller for the specified content page. In case a layout model controller has been requested for the specified content page before, that instance is returned; otherwise a new layout model controller is returned.

Parameters:
aContentPage - content page to return a layout model controller for
Returns:
the layout model controller for the specified content page; never null
Throws:
CannotInstantiateControllerException - in case a controller cannot be instantiated