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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.hippoecm.frontend.model.NodeModelWrapper
nodeModel
-
-
Constructor Summary
Constructors Constructor Description ReferringDocumentsProvider(JcrNodeModel nodeModel)
ReferringDocumentsProvider(JcrNodeModel nodeModel, boolean retrieveUnpublished)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
int
getLimit()
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.org.apache.wicket.extensions.markup.html.repeater.data.sort.ISortState
getSortState()
Iterator
iterator(long first, long count)
protected void
load()
org.apache.wicket.model.IModel
model(Object object)
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
-
-
-
-
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 interfaceorg.apache.wicket.markup.repeater.data.IDataProvider
-
model
public org.apache.wicket.model.IModel model(Object object)
- 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()
-
-