Class ReferringDocumentsProvider

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator, org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider, org.apache.wicket.markup.repeater.data.IDataProvider, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel, org.apache.wicket.util.io.IClusterable

    public class ReferringDocumentsProvider
    extends NodeModelWrapper
    implements org.apache.wicket.extensions.markup.html.repeater.data.table.ISortableDataProvider
    See Also:
    Serialized Form
    • Constructor Detail

      • ReferringDocumentsProvider

        public ReferringDocumentsProvider​(JcrNodeModel nodeModel)
      • ReferringDocumentsProvider

        public ReferringDocumentsProvider​(JcrNodeModel nodeModel,
                                          boolean retrieveUnpublished)
    • Method Detail

      • iterator

        public Iterator iterator​(long first,
                                 long count)
        Specified by:
        iterator in interface org.apache.wicket.markup.repeater.data.IDataProvider
      • model

        public org.apache.wicket.model.IModel model​(Object object)
        Specified by:
        model in interface org.apache.wicket.markup.repeater.data.IDataProvider
      • getNumResults

        public int getNumResults()
        An estimate of the total number of results; when this number is unknown or equal to the hard limit of 1000, -1 is returned. This should be interpreted as "thousands of hits".
      • getLimit

        public int getLimit()
      • size

        public long size()
        Specified by:
        size in interface org.apache.wicket.markup.repeater.data.IDataProvider
      • detach

        public void detach()
        Specified by:
        detach in interface org.apache.wicket.markup.repeater.data.IDataProvider
        Specified by:
        detach in interface org.apache.wicket.model.IDetachable
        Specified by:
        detach in interface org.apache.wicket.model.IModel
        Overrides:
        detach in class NodeModelWrapper
      • getSortState

        public org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState getSortState()
        Specified by:
        getSortState in interface org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortStateLocator
      • setSortState

        public void setSortState​(org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState state)
      • load

        protected void load()