Uses of Interface
org.fryske_akademy.jpa.EntityInterface
Packages that use EntityInterface
Package
Description
Interfaces classes to support working with entities, most notably an entity interface, a Param class with support
for syntax in values and value conversion and a JpqlBuilder that facilitates building (dynamic) queries.
This package contains interfaces and base classes for the development of crud (EJB/CDI) beans.
-
Uses of EntityInterface in org.fryske_akademy.jpa
Classes in org.fryske_akademy.jpa that implement EntityInterfaceModifier and TypeClassDescriptionclasssuperclass for entities, defines auto generated id (GenerationType.IDENTITY), a version column and a function to check if the entity is transient (not in db yet).classclass to enable LocalDateTime based querying of auditing information.Methods in org.fryske_akademy.jpa that return EntityInterfaceMethods in org.fryske_akademy.jpa that return types with arguments of type EntityInterfaceModifier and TypeMethodDescriptionstatic Optional<EntityInterface>EntityException.fromException(Throwable ex) get hold of an entity in the exception chain.static Optional<EntityInterface>JpaUtil.fromException(Throwable ex) looks for an EntityInterface in a EntityException or ConstraintViolationException (in the first ConstraintViolation).Constructors in org.fryske_akademy.jpa with parameters of type EntityInterfaceModifierConstructorDescriptionEntityException(EntityInterface failed) EntityException(EntityInterface failed, Exception ex) EntityException(EntityInterface failed, String message) EntityException(EntityInterface failed, String message, Exception ex) -
Uses of EntityInterface in org.fryske_akademy.services
Methods in org.fryske_akademy.services with type parameters of type EntityInterfaceModifier and TypeMethodDescription<T extends EntityInterface>
Stream<T>AbstractCrudService.batchSave(Collection<T> entities, Integer flushCount) <T extends EntityInterface>
Stream<T>CrudWriteService.batchSave(Collection<T> entities, Integer flushCount) save multiple entities, NOTE that normally only after commit or flush entitymanagers will reflect changes caused by saving all entities, this may cause entitylisteners to fail.<T extends EntityInterface>
TAbstractCrudServiceEnvers.previousState(Serializable id, Class<T> type, int stepsBack) <T extends EntityInterface>
TAuditing.previousState(Serializable id, Class<T> type, @jakarta.validation.constraints.Positive int stepsBack) Return the state before the last crud operation on an entity, or null when not found (or for insert).<T extends EntityInterface>
TAbstractCrudService.save(T t) When overriding look into roles to use, these are not inherited.<T extends EntityInterface>
TCrudWriteService.save(T t) create or update depending onisTransient().Methods in org.fryske_akademy.services with parameters of type EntityInterfaceModifier and TypeMethodDescriptionvoidAbstractCrudService.delete(EntityInterface t) When overriding look into roles to use, these are not inherited.voidCrudWriteService.delete(EntityInterface t) Method parameters in org.fryske_akademy.services with type arguments of type EntityInterfaceModifier and TypeMethodDescriptionintAbstractCrudService.batchDelete(Collection<? extends EntityInterface> t, Integer flushCount) intCrudWriteService.batchDelete(Collection<? extends EntityInterface> entities, Integer flushCount) save multiple entities, NOTE that normally only after commit or flush entitymanagers will reflect changes caused by saving all entities, this may cause entitylisteners to fail.