## Uses of Class
org.apache.myfaces.trinidad.model.CollectionModel

- Packages that use CollectionModel
  Package | Description
  --- | ---
  org.apache.myfaces.trinidad.component |
  org.apache.myfaces.trinidad.model |

- - ### Uses of CollectionModel in org.apache.myfaces.trinidad.component

    Methods in org.apache.myfaces.trinidad.component that return CollectionModel
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract CollectionModel` | UIXCollection.`createCollectionModel(CollectionModel current, Object value)` Creates the CollectionModel to use with this component.
    `CollectionModel` | UIXPage.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXHierarchy.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXNavigationHierarchy.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXNavigationTree.`createCollectionModel(CollectionModel current, Object value)`
    `protected CollectionModel` | UIXTable.`createCollectionModel(CollectionModel current, Object value)`
    `protected CollectionModel` | UIXIterator.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXTree.`createCollectionModel(CollectionModel current, Object value)`
    `protected CollectionModel` | UIXCollection.`getCollectionModel()` Gets the CollectionModel to use with this component.
    `protected CollectionModel` | UIXCollection.`getCollectionModel(boolean createIfNull)` Gets the CollectionModel to use with this component.

    Methods in org.apache.myfaces.trinidad.component with parameters of type CollectionModel
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract CollectionModel` | UIXCollection.`createCollectionModel(CollectionModel current, Object value)` Creates the CollectionModel to use with this component.
    `CollectionModel` | UIXPage.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXHierarchy.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXNavigationHierarchy.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXNavigationTree.`createCollectionModel(CollectionModel current, Object value)`
    `protected CollectionModel` | UIXTable.`createCollectionModel(CollectionModel current, Object value)`
    `protected CollectionModel` | UIXIterator.`createCollectionModel(CollectionModel current, Object value)`
    `CollectionModel` | UIXTree.`createCollectionModel(CollectionModel current, Object value)`
    `protected void` | UIXListView.`postCreateCollectionModel(CollectionModel model)`
    `protected void` | UIXCollection.`postCreateCollectionModel(CollectionModel model)` Hook called with the result of `createCollectionModel`.
    `protected void` | UIXTable.`postCreateCollectionModel(CollectionModel model)`
    `protected void` | UIXTree.`postCreateCollectionModel(CollectionModel model)`

  - ### Uses of CollectionModel in org.apache.myfaces.trinidad.model

    Subclasses of CollectionModel in org.apache.myfaces.trinidad.model
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseMenuModel` A base class which takes a TreeModel.
    `class` | `ChildPropertyMenuModel` Creates a MenuModel from a List of beans.
    `class` | `ChildPropertyTreeModel` Creates a TreeModel from a List of beans.
    `class` | `CollectionModelDecorator` Used by anybody who wants to wrap the `CollectionModel` class.
    `class` | `MenuModel` A MenuModel objects represents the menu structure of a page or application.
    `class` | `ProcessMenuModel` There are two common scenarios for processes, "Plus One" and "Max Visited" which are explained below.
    `class` | `RowKeyPropertyModel` Creates a CollectionModel whose row keys are defined by a unique data property in the model.
    `class` | `RowKeyPropertyTreeModel` A subclass of `ChildPropertyTreeModel` that supports row keys by creating `RowKeyPropertyModel`(s) for its child models.
    `class` | `SortableModel` Creates a CollectionModel that is sortable.
    `class` | `TreeModel` The data model used by Trinidad Tree components.
    `class` | `TreeModelDecorator`
    `class` | `ViewIdPropertyMenuModel` Creates a MenuModel from a TreeModel where nodes in the treeModel contain viewId information.
    `class` | `XMLMenuModel` Creates a Menu Model from a TreeModel where nodes in the treeModel contain viewId information.

    Methods in org.apache.myfaces.trinidad.model that return CollectionModel
    Modifier and Type | Method and Description
    --- | ---
    `protected CollectionModel` | ChildPropertyMenuModel.`createChildModel(Object childData)` Converts childData into a CollectionModel.
    `protected CollectionModel` | RowKeyPropertyTreeModel.`createChildModel(Object childData)` Overrides ChildPropertyTreeModel.createChildModel().
    `protected CollectionModel` | ChildPropertyTreeModel.`createChildModel(Object childData)` Converts childData into a CollectionModel.
    `protected CollectionModel` | RowKeySetImpl.`getCollectionModel()` Gets the CollectionModel associated with this set.
    `protected abstract CollectionModel` | CollectionModelDecorator.`getCollectionModel()` This method returns the wrapped `CollectionModel`.
    `protected abstract CollectionModel` | RowKeySet.`getCollectionModel()` Gets the underlying model used by this set.
    `static CollectionModel` | ModelUtils.`toCollectionModel(Object value)` Converts an instance into a CollectionModel.

    Methods in org.apache.myfaces.trinidad.model with parameters of type CollectionModel
    Modifier and Type | Method and Description
    --- | ---
    `static Iterator<Object>` | ModelUtils.`getRowKeyIterator(CollectionModel model)` Gets an iteration of all the rowKeys in a collection.
    `void` | RowKeySetTreeImpl.`setCollectionModel(CollectionModel model)` Sets the TreeModel associated with this Set.
    `void` | RowKeySetImpl.`setCollectionModel(CollectionModel model)` Changes the underlying CollectionModel being used by this set.
    `abstract void` | RowKeySet.`setCollectionModel(CollectionModel model)` Changes the underlying CollectionModel being used by this set.

    Constructors in org.apache.myfaces.trinidad.model with parameters of type CollectionModel
    Constructor and Description
    `RowKeyChangeEvent(CollectionModel source, Object oldRowKey, Object newRowKey, RowKeyChangeEvent.Cause cause)` Creates a new RowKeyChangeEvent

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.