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
public abstract class CountableLoadableModel<T> extends LoadableModel<List<T>>
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:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CountableLoadableModel()CountableLoadableModel(boolean alwaysReload) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcount()intcountInternal()- 
Methods inherited from class com.evolveum.midpoint.gui.api.model.LoadableModel
create, detach, getNestedModel, getObject, isLoaded, load, onDetach, onLoad, reset, revive, setObject, toString 
 - 
 
 -