Class ReferringDocumentsProvider
java.lang.Object
org.hippoecm.frontend.model.NodeModelWrapper
org.hippoecm.frontend.editor.workflow.model.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:
-
Field Summary
Fields inherited from class org.hippoecm.frontend.model.NodeModelWrapper
nodeModel
-
Constructor Summary
ConstructorDescriptionReferringDocumentsProvider
(JcrNodeModel nodeModel) ReferringDocumentsProvider
(JcrNodeModel nodeModel, boolean retrieveUnpublished) -
Method Summary
Modifier and TypeMethodDescriptionvoid
detach()
int
getLimit()
int
An estimate of the total number of results; when this number is unknown or equal to the hard limit of 1000, -1 is returned.org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState
iterator
(long first, long count) protected void
load()
org.apache.wicket.model.IModel
void
setSortState
(org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState state) long
size()
Methods inherited from class org.hippoecm.frontend.model.NodeModelWrapper
getNode, getNodeModel, getObject, setNodeModel, setObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
as, combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
ReferringDocumentsProvider
-
ReferringDocumentsProvider
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceorg.apache.wicket.markup.repeater.data.IDataProvider
-
model
- Specified by:
model
in interfaceorg.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 interfaceorg.apache.wicket.markup.repeater.data.IDataProvider
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.markup.repeater.data.IDataProvider
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Specified by:
detach
in interfaceorg.apache.wicket.model.IModel
- Overrides:
detach
in classNodeModelWrapper
-
getSortState
public org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState getSortState()- Specified by:
getSortState
in interfaceorg.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()
-