Class CachedModel
java.lang.Object
com.evolveum.midpoint.web.component.breadcrumbs.CachedModel
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<String>
,org.apache.wicket.util.io.IClusterable
Breadcrumbs text is not changing over time, we'll try to use this behavior to cache string value created by underlying IModel object.
When value is cached, underlying model is forgotten to save space - we don't want to get value when creating cached model (too soon).
Created by Viliam Repan (lazyman).
- See Also:
-
Constructor Summary
ConstructorDescriptionCachedModel
(String value) CachedModel
(org.apache.wicket.model.IModel<String> valueModel) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.model.IModel
combineWith, filter, flatMap, isPresent, map, orElse, orElseGet, setObject
-
Constructor Details
-
CachedModel
-
CachedModel
-
-
Method Details