com.ibm.portal
Interface ListModel<E>

All Known Subinterfaces:
ClientList<T>, ClientListController<T,M>, CommandFactory, CommittableListModelController<T,M>, CompositionMetrics, CountableIterableListModel<E>, CountableIterablePagedListModel<E>, CountableListModel<E>, DeviceClassModel<E>, DialogModel<T>, InvalidatableListModel<T>, IterableListModel<E>, LanguageList<E>, LayoutMetrics<V,E>, ListModelController<T,M>, LocalizedContext, MarkupList<T>, MarkupListController<T,M>, MetaData<V,E>, ModifiableLayoutMetrics<V,E>, ModifiableMetaData<V,E>, ModifiablePortletPreferences<E>, MultipartStream.Entry, NavigationSelectionModel<E>, OrderedListModelController<T,M>, PagedListModel<E>, PortletDefinitionList<T>, PortletList<E>, PortletLocalizedContext, PortletPreferences<E>, PublicRenderParameterList<T>, RatingModel<R>, RatingModelController<R,M>, ResourceModel<R>, ResourceModelController<R,M>, RuntimeContext, SearchableIterableListModel<E>, SearchableListModel<T>, SearchableListModelController<T,M>, SelectionModel<T>, SkinList<T>, SkinListController<T,M>, SortedLocalized<T>, SortedLocalizedListModel<T>, TagModel<T>, TagModelController<T,M>, ThemeList<T>, ThemeListController<T,M>, TransitionEndpointModel<T>, TransitionModel<T>, VanityURLModel<T>, VanityURLModelController<E,M>, VirtualPortalList<T>, WebApplicationList<E>, WireModel<T>, WireModelController<T,M>
All Known Implementing Classes:
DefaultMultipartEntry, FormDataInputStream.Entry, MultipartInputStream.Entry

public interface ListModel<E>

A model representing a list. It supplies a method to iterate over elements of the list. The order of elements returned by this list model's iterator cannot be guaranteed.

If an implementation overrides the #equals(Object) and #hashCode() method the hash code should be computed according to List.hashCode().

Since:
5.1

Method Summary
 java.util.Iterator<E> iterator()
          Returns an Iterator over elements of the list.
 

Method Detail

iterator

java.util.Iterator<E> iterator()
                               throws ModelException
Returns an Iterator over elements of the list.

Returns:
an iterator
Throws:
ModelException - if creation of iterator fails