Index

A C F G I J M N O P R T _ 
All Classes and Interfaces|All Packages

A

AggregateLookup<T,ID> - Interface in org.jmolecules.spring
Lookup interface to be implemented e.g.
AssociationResolver<T extends org.jmolecules.ddd.types.AggregateRoot<T,ID>,ID extends org.jmolecules.ddd.types.Identifier> - Interface in org.jmolecules.spring
 
AssociationToPrimitivesConverter<T extends org.jmolecules.ddd.types.AggregateRoot<T,org.jmolecules.ddd.types.Identifier>> - Class in org.jmolecules.spring
Converts Association instances into their backing Identifier or even to the wrapped value of those.
AssociationToPrimitivesConverter(Supplier<? extends ConversionService>) - Constructor for class org.jmolecules.spring.AssociationToPrimitivesConverter
Creates a new AssociationToPrimitivesConverter using the given ConversionService for intermediate conversions.
AssociationToPrimitivesConverter(IdentifierToPrimitivesConverter) - Constructor for class org.jmolecules.spring.AssociationToPrimitivesConverter
Creates a new AssociationToPrimitivesConverter using the given IdentifierToPrimitivesConverter for intermediate conversions.

C

convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.AssociationToPrimitivesConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.IdentifierToPrimitivesConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.PrimitivesToAssociationConverter
 
convert(Object, TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.PrimitivesToIdentifierConverter
 
convertToDatabaseColumn(Association<T, ID>) - Method in class org.jmolecules.spring.jpa.JakartaPersistenceAssociationAttributeConverter
 
convertToDatabaseColumn(Association<T, ID>) - Method in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 
convertToEntityAttribute(S) - Method in class org.jmolecules.spring.jpa.JakartaPersistenceAssociationAttributeConverter
 
convertToEntityAttribute(S) - Method in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 

F

findById(ID) - Method in interface org.jmolecules.spring.AggregateLookup
Returns the

G

getConvertibleTypes() - Method in class org.jmolecules.spring.AssociationToPrimitivesConverter
 
getConvertibleTypes() - Method in class org.jmolecules.spring.IdentifierToPrimitivesConverter
 
getConvertibleTypes() - Method in class org.jmolecules.spring.PrimitivesToAssociationConverter
 
getConvertibleTypes() - Method in class org.jmolecules.spring.PrimitivesToIdentifierConverter
 

I

IdentifierToPrimitivesConverter - Class in org.jmolecules.spring
A Spring Converter to convert from jMolecules Identifier types to primitives like UUID and String assuming the Identifier implementation contains a single property of that type.
IdentifierToPrimitivesConverter(Supplier<? extends ConversionService>) - Constructor for class org.jmolecules.spring.IdentifierToPrimitivesConverter
 
idTypeDescriptor - Variable in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 
instantiate(ValueAccess, SessionFactoryImplementor) - Method in class org.jmolecules.spring.hibernate.RecordInstantiator
 
isInstance(Object, SessionFactoryImplementor) - Method in class org.jmolecules.spring.hibernate.RecordInstantiator
 
isSameClass(Object, SessionFactoryImplementor) - Method in class org.jmolecules.spring.hibernate.RecordInstantiator
 

J

JakartaPersistenceAssociationAttributeConverter<T extends org.jmolecules.ddd.types.AggregateRoot<T,ID>,ID extends org.jmolecules.ddd.types.Identifier,S> - Class in org.jmolecules.spring.jpa
Jakarta Persistence 3.0 flavor of the AssociationAttributeConverter.
JakartaPersistenceAssociationAttributeConverter(Class<ID>) - Constructor for class org.jmolecules.spring.jpa.JakartaPersistenceAssociationAttributeConverter
Creates a new JakartaPersistenceAssociationAttributeConverter for the given id type.
JMoleculesConverterConfigUtils - Class in org.jmolecules.spring.config
Utilities to easily configure JMolecules Converter implementations within a ConversionService.
JMoleculesConverterConfigUtils() - Constructor for class org.jmolecules.spring.config.JMoleculesConverterConfigUtils
 
JpaAssociationAttributeConverter<T extends org.jmolecules.ddd.types.AggregateRoot<T,ID>,ID extends org.jmolecules.ddd.types.Identifier,S> - Class in org.jmolecules.spring.jpa
JPA flavor of AssociationAttributeConverter.
JpaAssociationAttributeConverter(Class<ID>) - Constructor for class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
Creates a new JpaAssociationAttributeConverter for the given id type.

M

matches(TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.IdentifierToPrimitivesConverter
 
matches(TypeDescriptor, TypeDescriptor) - Method in class org.jmolecules.spring.PrimitivesToIdentifierConverter
 
MutablePersistable<T extends org.jmolecules.ddd.types.Identifiable<ID>,ID> - Interface in org.jmolecules.spring.data
Synthetic extension of Persistable to allow marking an entity instance as not new.

N

NotNewCallback<T extends MutablePersistable<T,?>> - Class in org.jmolecules.spring.jdbc
Spring Data JDBC entity callback to flip the is-new flag for just persisted and loaded entities.
NotNewCallback<T extends MutablePersistable<T,?>> - Class in org.jmolecules.spring.mongodb
 
NotNewCallback() - Constructor for class org.jmolecules.spring.jdbc.NotNewCallback
 
NotNewCallback() - Constructor for class org.jmolecules.spring.mongodb.NotNewCallback
 

O

OBJECT_TYPE_DESCRIPTOR - Static variable in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 
onAfterConvert(T) - Method in class org.jmolecules.spring.jdbc.NotNewCallback
 
onAfterConvert(T, Document, String) - Method in class org.jmolecules.spring.mongodb.NotNewCallback
 
onAfterSave(T) - Method in class org.jmolecules.spring.jdbc.NotNewCallback
 
onAfterSave(T, Document, String) - Method in class org.jmolecules.spring.mongodb.NotNewCallback
 
org.jmolecules.spring - package org.jmolecules.spring
 
org.jmolecules.spring.config - package org.jmolecules.spring.config
 
org.jmolecules.spring.data - package org.jmolecules.spring.data
 
org.jmolecules.spring.hibernate - package org.jmolecules.spring.hibernate
 
org.jmolecules.spring.jdbc - package org.jmolecules.spring.jdbc
 
org.jmolecules.spring.jpa - package org.jmolecules.spring.jpa
 
org.jmolecules.spring.mongodb - package org.jmolecules.spring.mongodb
 

P

PrimitivesToAssociationConverter<T extends org.jmolecules.ddd.types.AggregateRoot<T,org.jmolecules.ddd.types.Identifier>> - Class in org.jmolecules.spring
Converter to create Association instances from either Identifier primitives or Identifier instances themselves.
PrimitivesToAssociationConverter(Supplier<? extends ConversionService>) - Constructor for class org.jmolecules.spring.PrimitivesToAssociationConverter
Creates a new PrimitivesToAssociationConverter using the given ConversionService for intermediate conversions.
PrimitivesToAssociationConverter(PrimitivesToIdentifierConverter) - Constructor for class org.jmolecules.spring.PrimitivesToAssociationConverter
Creates a new PrimitivesToAssociationConverter using the given delegate PrimitivesToIdentifierConverter for intermediate conversions.
PrimitivesToIdentifierConverter - Class in org.jmolecules.spring
A Spring Converter to convert primitives like String and UUID values to jMolecules Identifier instances, assuming they expose a static factory method of(…).
PrimitivesToIdentifierConverter(Supplier<? extends ConversionService>) - Constructor for class org.jmolecules.spring.PrimitivesToIdentifierConverter
Creates a new PrimitivesToIdentifierConverter for the given ConversionService.

R

RecordInstantiator - Class in org.jmolecules.spring.hibernate
Hibernate 6 specific EmbeddableInstantiator that inspects a Record for its RecordComponents to assemble instances of it in #instantiate(Supplier, SessionFactoryImplementor).
RecordInstantiator(Class<?>) - Constructor for class org.jmolecules.spring.hibernate.RecordInstantiator
Creates a new AssociationAttributeConverter for the given Identifier type.
registerConverters(T) - Static method in class org.jmolecules.spring.config.JMoleculesConverterConfigUtils
resolve(Association<T, ID>) - Method in interface org.jmolecules.spring.AssociationResolver
Resolves the AggregateRoot pointed to by the given Association.
resolveRequired(Association<T, ID>) - Method in interface org.jmolecules.spring.AssociationResolver
Resolves the AggregateRoot pointed to by the given Association.

T

toAssociation - Variable in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 
toPrimitive - Variable in class org.jmolecules.spring.jpa.JpaAssociationAttributeConverter
 

_

__jMolecules__markNotNew() - Method in interface org.jmolecules.spring.data.MutablePersistable
 
A C F G I J M N O P R T _ 
All Classes and Interfaces|All Packages