Class CountableLoadableModel<T>
java.lang.Object
com.evolveum.midpoint.gui.api.model.LoadableModel<List<T>>
com.evolveum.midpoint.gui.api.model.CountableLoadableModel<T>
- All Implemented Interfaces:
- Serializable,- org.apache.wicket.model.IDetachable,- org.apache.wicket.model.IModel<List<T>>,- org.apache.wicket.util.io.IClusterable
A loadable model of a list that knows how to provide count of list items without having to retrieve the actual data.
 Useful e.g. to implement MID-3938 (Optimize midPoint for many focus assignments).
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.evolveum.midpoint.gui.api.model.LoadableModelcreate, detach, getNestedModel, getObject, isLoaded, load, onDetach, onLoad, reset, revive, setObject, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.wicket.model.IModelas, combineWith, filter, flatMap, isPresent, map, orElse, orElseGet
- 
Constructor Details- 
CountableLoadableModelpublic CountableLoadableModel()
- 
CountableLoadableModelpublic CountableLoadableModel(boolean alwaysReload) 
 
- 
- 
Method Details- 
countpublic int count()
- 
countInternalpublic int countInternal()
 
-