com.ibm.portal.content
Interface ContentModel<E extends java.lang.Object & ContentNode>
- All Superinterfaces:
- Invalidatable, InvalidatableTreeModel<E>, LocatorProvider<E>, SearchableTreeModel<E>, TreeModel<E>
- All Known Subinterfaces:
- ContentModelController<T,M>
public interface ContentModel<E extends java.lang.Object & ContentNode>
- extends InvalidatableTreeModel<E>, SearchableTreeModel<E>
Interface for a content model. This tree model describes the topology in
which the content is structured. The content can be a tree consisting of
pages, labels and URLs.
Unless stated otherwise, return values of the tree model methods are
ContentNode
.
- Since:
- 5.1.0.1
getLayoutModel
<T extends java.lang.Object & LayoutNode> LayoutModel<T> getLayoutModel(ContentPage aContentPage)
- Returns the layout model for the given page.
- Parameters:
aContentPage
- the page for which to return its model. The page
must be part of this content model.
- Returns:
- a layout model or
null
if none exists.