Uses of Interface
org.fryske_akademy.jpa.EntityInterface
-
Packages that use EntityInterface Package Description org.fryske_akademy.jpa 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.org.fryske_akademy.services 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 EntityInterface Modifier and Type Class Description classAbstractEntitysuperclass 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).classTimeViewclass to enable LocalDateTime based querying of auditing information.Methods in org.fryske_akademy.jpa that return EntityInterface Modifier and Type Method Description EntityInterfaceEntityException. getFailed()Methods in org.fryske_akademy.jpa that return types with arguments of type EntityInterface Modifier and Type Method Description static 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 EntityInterface Constructor Description EntityException(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 EntityInterface Modifier and Type Method Description <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, @javax.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 EntityInterface Modifier and Type Method Description voidAbstractCrudService. 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 EntityInterface Modifier and Type Method Description intAbstractCrudService. 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.
-