Class SingleVariantProvider
- java.lang.Object
-
- org.apache.wicket.model.LoadableDetachableModel<List<javax.jcr.Node>>
-
- org.hippoecm.frontend.plugins.standards.list.SingleVariantProvider
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<List<javax.jcr.Node>>
,org.apache.wicket.util.io.IClusterable
public class SingleVariantProvider extends org.apache.wicket.model.LoadableDetachableModel<List<javax.jcr.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<javax.jcr.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)
-
-