Class JcrMultiPropertyValueModel<T extends Serializable>
java.lang.Object
org.hippoecm.frontend.model.properties.JcrMultiPropertyValueModel<T>
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<List<T>>
,org.apache.wicket.util.io.IClusterable
public class JcrMultiPropertyValueModel<T extends Serializable>
extends Object
implements org.apache.wicket.model.IModel<List<T>>
Model of a multiple property with a Collection as object. Can be used for
Wicket components that edit multiple property values directy, i.e. without a
surrounding repeater, for instance a multiselect list.
The contents of the list must be saved explicitly; i.e. modifying a returned list
is not sufficient, the client must also invoke setObject(List)
.
- See Also:
-
Constructor Summary
ConstructorDescriptionJcrMultiPropertyValueModel
(JcrItemModel<Property> itemModel) JcrMultiPropertyValueModel
(JcrPropertyModel<T> propertyModel) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
as, combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
-
Constructor Details
-
JcrMultiPropertyValueModel
-
JcrMultiPropertyValueModel
-
-
Method Details
-
getProperty
-
getItemModel
-
getObject
- Specified by:
getObject
in interfaceorg.apache.wicket.model.IModel<T extends Serializable>
-
detach
public void detach()- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
- Specified by:
detach
in interfaceorg.apache.wicket.model.IModel<T extends Serializable>
-
setObject
- Specified by:
setObject
in interfaceorg.apache.wicket.model.IModel<T extends Serializable>
-
load
-
toString
-
equals
-
hashCode
public int hashCode()
-