Uses of Class
org.springframework.data.mapping.TraversalContext
-
Uses of TraversalContext in org.springframework.data.mapping
Modifier and TypeMethodDescriptionTraversalContext.registerCollectionHandler
(PersistentProperty<?> property, Function<? super Collection<?>, Object> handler) Registers aFunction
to handleCollection
values for the given property.<T> TraversalContext
TraversalContext.registerHandler
(PersistentProperty<?> property, Class<T> type, Function<? super T, Object> handler) Registers the givenFunction
to post-process values obtained for the givenPersistentProperty
for the given type.TraversalContext.registerHandler
(PersistentProperty<?> property, Function<Object, Object> handler) Registers aFunction
to post-process values for the given property.TraversalContext.registerListHandler
(PersistentProperty<?> property, Function<? super List<?>, Object> handler) TraversalContext.registerMapHandler
(PersistentProperty<?> property, Function<? super Map<?, ?>, Object> handler) TraversalContext.registerSetHandler
(PersistentProperty<?> property, Function<? super Set<?>, Object> handler) Modifier and TypeMethodDescriptiondefault Object
PersistentPropertyAccessor.getProperty
(PersistentPropertyPath<? extends PersistentProperty<?>> path, TraversalContext context) Deprecated.
PersistentPropertyPathAccessor.getProperty(PersistentPropertyPath, org.springframework.data.mapping.AccessOptions.GetOptions)
instead.