Package org.springframework.data.domain
@NonNullApi
package org.springframework.data.domain
Central domain abstractions especially to be used in combination with the
Repository
abstraction.- See Also:
-
ClassDescriptionAbstractAggregateRoot<A extends AbstractAggregateRoot<A>>Convenience base class for aggregate roots that exposes a
AbstractAggregateRoot.registerEvent(Object)
to capture domain events and expose them viaAbstractAggregateRoot.domainEvents()
.Abstract Java Bean implementation ofPageable
.Annotation to be used on a method of a Spring Data managed aggregate to get invoked after the events of an aggregate have been published.Auditable<U,ID, T extends TemporalAccessor> Interface for auditable entities.AuditorAware<T>Interface for components that are aware of the application's current auditor.DomainEvents
can be used on methods of aggregate roots managed by Spring Data repositories to publish the events returned by that method as Spring application events.Example<T>Support for query by example (QBE).Specification for property path matching to use in query by example (QBE).A generic property matcher that specifiesstring matching
and case sensitivity.Predefined property matchers to create aExampleMatcher.GenericPropertyMatcher
.Callback to configure a matcher.The match modes to expose so that clients can find about how to concatenate the predicates.Null handling for creating criterion out of anExample
.Define specific property handling for a Dot-Path.Define specific property handling for Dot-Paths.Allows to transform the property value before it is used in the query.Match modes for treatment ofString
values.Types managed by a Spring Data implementation.Page<T>A page is a sublist of a list of objects.Abstract interface for pagination information.PageImpl<T>BasicPage
implementation.Basic Java Bean implementation ofPageable
.Persistable<ID>Simple interface for entities.Range<T>Simple value object to work with ranges and boundaries.Range.Bound<T>Value object representing a boundary.Builder forRange
allowing to specify the upper boundary.Interface for components that are aware of the application's current auditor.Slice<T>A slice of data that indicates whether there's a next or previous slice available.SliceImpl<T>Default implementation ofSlice
.Sort option for queries.Enumeration for sort directions.Enumeration for null handling hints that can be used inSort.Order
expressions.PropertyPath implements the pairing of anSort.Direction
and a property.Extension of Sort to use method handles to define properties to sort by.