Interface ISelectableDataProvider<T>

Type Parameters:
T - The model object type
All Superinterfaces:
org.apache.wicket.util.io.IClusterable, org.apache.wicket.markup.repeater.data.IDataProvider<T>, org.apache.wicket.model.IDetachable, Serializable
All Known Implementing Classes:
AbstractNodeReferenceDataProvider, AbstractReferencesDataProvider, ReferredDocumentsDataProvider, ReferringDocumentsDataProvider, SiteReferencesDataProvider

public interface ISelectableDataProvider<T> extends org.apache.wicket.markup.repeater.data.IDataProvider<T>
Interface for data providers that support selection of items.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum number of items that can be returned.
    int
    Returns the estimate of the total number of results.
    List<org.apache.wicket.model.IModel<T>>
    Returns the selected items.

    Methods inherited from interface org.apache.wicket.markup.repeater.data.IDataProvider

    detach, iterator, model, size
  • Method Details

    • getNumberOfResults

      int getNumberOfResults()
      Returns the estimate of the total number of results. When this number is unknown or equal to the hard limit of 1000, then -1 is returned.
    • getLimit

      int getLimit()
      Returns the maximum number of items that can be returned.
    • getSelectedItems

      List<org.apache.wicket.model.IModel<T>> getSelectedItems()
      Returns the selected items.