Class SingleVariantProvider
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<List<Node>>
,org.apache.wicket.util.io.IClusterable
public class SingleVariantProvider extends org.apache.wicket.model.LoadableDetachableModel<List<Node>>
Load a single representative for each set of variants of a document. Different documents can share a name, so the comparison is based on the handle that contains the variants. The first document (lowest sns index in resultset) is used.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleVariantProvider(org.apache.wicket.model.IModel<Iterator> documents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Node>
load()
protected void
onDetach()
-
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, of, onAttach, setObject, toString
-
-
-
-
Constructor Detail
-
SingleVariantProvider
public SingleVariantProvider(org.apache.wicket.model.IModel<Iterator> documents)
-
-