A C D E F G H I L N P S T V

## A

AbstractEntity<K> - Class in net.dontdrinkandroot.persistence.entity
  Represents an entity with a primary key.
AbstractEntity() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractEntity
  Constructs an entity without the primary key being set.
AbstractEntity_ - Class in net.dontdrinkandroot.persistence.entity
AbstractEntity_() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractEntity_
AbstractGeneratedIdEntity<K> - Class in net.dontdrinkandroot.persistence.entity
  `AbstractEntity` that has a primary key which is automatically generated.
AbstractGeneratedIdEntity() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractGeneratedIdEntity
AbstractGeneratedIdEntity_ - Class in net.dontdrinkandroot.persistence.entity
AbstractGeneratedIdEntity_() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractGeneratedIdEntity_
AbstractIdEntity<K> - Class in net.dontdrinkandroot.persistence.entity
  `AbstractEntity` that has a primary key which needs to be assigned manually.
AbstractIdEntity() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractIdEntity
AbstractIdEntity(K) - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractIdEntity
AbstractIdEntity_ - Class in net.dontdrinkandroot.persistence.entity
AbstractIdEntity_() - Constructor for class net.dontdrinkandroot.persistence.entity.AbstractIdEntity_

## C

createPredicate(CriteriaBuilder, Path<? extends T>) - Method in class net.dontdrinkandroot.persistence.predicatebuilder.NullPredicateBuilder
createPredicate(CriteriaBuilder, Path<? extends T>) - Method in class net.dontdrinkandroot.persistence.predicatebuilder.NumericPredicateBuilder
createPredicate(CriteriaBuilder, Path<? extends E>) - Method in interface net.dontdrinkandroot.persistence.predicatebuilder.PredicateBuilder
  Builds a predicate with the given builder that is derived from the given path.

## D

delete(E, Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Deletes the given entity of the given class.
delete(K, Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Deletes the entity with the given id of the given class.
delete(E, Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
delete(K, Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
delete(E) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Deletes the given Entity.
delete(K) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Deletes the entity with the given id.
delete(E) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
delete(I) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao

## E

Entity<K> - Interface in net.dontdrinkandroot.persistence.entity
  Represents an entity with a primary key.
entityClass - Variable in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
equals(Object) - Method in class net.dontdrinkandroot.persistence.entity.AbstractEntity

## F

find(K, Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Finds the entity with the given id of the given class.
find(K, Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
find(CriteriaQuery<V>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Find all entities by the given `CriteriaQuery`.
find(CriteriaQuery<V>, int) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Finds all entities by the given `CriteriaQuery` and limit the result set.
find(CriteriaQuery<V>, int, int) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Finds all entities by the given `CriteriaQuery` and limit the result set.
find(K) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds the entity with the given id.
find(I) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Finds all entities of the given class.
findAll(Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
findAll() - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities.
findAll(SingularAttribute<? super E, ?>, boolean) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities ordered by the given attribute and the given sort order.
findAll(SingularAttribute<? super E, ?>, boolean, int, int) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities ordered by the given attribute and the given sort order with the result set limit to the given size.
findAll(Collection<PredicateBuilder<E>>) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities that match all predicates generated by the given `PredicateBuilder` s.
findAll(PredicateBuilder<E>) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities that match all predicates generated by the given `PredicateBuilder` s.
findAll(PredicateBuilder<E>...) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Finds all entities that match all predicates generated by the given `PredicateBuilder` s.
findAll() - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(SingularAttribute<? super E, ?>, boolean) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(SingularAttribute<? super E, ?>, boolean, int, int) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(PredicateBuilder<E>) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(Collection<PredicateBuilder<E>>) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findAll(PredicateBuilder<E>...) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
findFirstOrNull(CriteriaQuery<V>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Finds the first entity by the given `CriteriaQuery` or null if no result was found.
findSingle(CriteriaQuery<V>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Find a single entity by the given `CriteriaQuery`, throws an Exception if there is no or more than one result.
findSingleOrNull(CriteriaQuery<V>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Finds a single entity by the given `CriteriaQuery`, throws an Exception if there is more than one result.

## G

GeneratedLongIdEntity - Class in net.dontdrinkandroot.persistence.entity
GeneratedLongIdEntity() - Constructor for class net.dontdrinkandroot.persistence.entity.GeneratedLongIdEntity
GeneratedLongIdEntity_ - Class in net.dontdrinkandroot.persistence.entity
GeneratedLongIdEntity_() - Constructor for class net.dontdrinkandroot.persistence.entity.GeneratedLongIdEntity_
GenericDao - Interface in net.dontdrinkandroot.persistence.dao
  General contract of a Data Access Object that manages `Entity` instances.
GenericJpaDao - Class in net.dontdrinkandroot.persistence.dao
  Base implementation of a `GenericDao` that uses a JPA `EntityManager`.
GenericJpaDao() - Constructor for class net.dontdrinkandroot.persistence.dao.GenericJpaDao
getCount(Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Counts the entities of the given class.
getCount(Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
getCount() - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Get the total number of entities in this Dao.
getCount() - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
getCriteriaBuilder() - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
  Gets the criteria builder of the entity manager.
getEntityManager() - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
getId() - Method in class net.dontdrinkandroot.persistence.entity.AbstractGeneratedIdEntity
getId() - Method in class net.dontdrinkandroot.persistence.entity.AbstractIdEntity
getId() - Method in interface net.dontdrinkandroot.persistence.entity.Entity
  Get the primary key of the entity.
getId() - Method in class net.dontdrinkandroot.persistence.entity.GeneratedLongIdEntity
getId() - Method in class net.dontdrinkandroot.persistence.entity.LongIdEntity
getLogger() - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao

## H

hashCode() - Method in class net.dontdrinkandroot.persistence.entity.AbstractEntity

## I

id - Static variable in class net.dontdrinkandroot.persistence.entity.AbstractGeneratedIdEntity_
id - Static variable in class net.dontdrinkandroot.persistence.entity.AbstractIdEntity_
id - Static variable in class net.dontdrinkandroot.persistence.entity.GeneratedLongIdEntity_
id - Static variable in class net.dontdrinkandroot.persistence.entity.LongIdEntity_

## L

load(K, Class<E>) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Loads the entity with the given id of the given class or throws an Exception if it was not found.
load(K, Class<E>) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
load(K) - Method in interface net.dontdrinkandroot.persistence.dao.TypedDao
  Loads the entity with the given id or throws an Exception if it was not found.
load(I) - Method in class net.dontdrinkandroot.persistence.dao.TypedJpaDao
LongIdEntity - Class in net.dontdrinkandroot.persistence.entity
LongIdEntity() - Constructor for class net.dontdrinkandroot.persistence.entity.LongIdEntity
LongIdEntity(Long) - Constructor for class net.dontdrinkandroot.persistence.entity.LongIdEntity
LongIdEntity_ - Class in net.dontdrinkandroot.persistence.entity
LongIdEntity_() - Constructor for class net.dontdrinkandroot.persistence.entity.LongIdEntity_

## N

net.dontdrinkandroot.persistence.dao - package net.dontdrinkandroot.persistence.dao
net.dontdrinkandroot.persistence.entity - package net.dontdrinkandroot.persistence.entity
net.dontdrinkandroot.persistence.predicatebuilder - package net.dontdrinkandroot.persistence.predicatebuilder
NullPredicateBuilder<T> - Class in net.dontdrinkandroot.persistence.predicatebuilder
NullPredicateBuilder(SingularAttribute<? super T, ?>, boolean) - Constructor for class net.dontdrinkandroot.persistence.predicatebuilder.NullPredicateBuilder
NumericOperator - Enum in net.dontdrinkandroot.persistence.predicatebuilder
NumericPredicateBuilder<T> - Class in net.dontdrinkandroot.persistence.predicatebuilder
NumericPredicateBuilder(SingularAttribute<? super T, ? extends Number>, NumericOperator, Number) - Constructor for class net.dontdrinkandroot.persistence.predicatebuilder.NumericPredicateBuilder

## P

PredicateBuilder<E> - Interface in net.dontdrinkandroot.persistence.predicatebuilder
  A PredicateBuillder is an abstraction to generate a `Predicate` for an `Entity`.

## S

save(E) - Method in interface net.dontdrinkandroot.persistence.dao.GenericDao
  Saves the given entity.
save(E) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
setEntityManager(EntityManager) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao
setLogger(Logger) - Method in class net.dontdrinkandroot.persistence.dao.GenericJpaDao

## T

toString() - Method in class net.dontdrinkandroot.persistence.entity.AbstractEntity
TypedDao<E extends Entity<K>,K> - Interface in net.dontdrinkandroot.persistence.dao
  Contract of a Data Access Object that manages a specific `Entity` class.
TypedJpaDao<E extends Entity<I>,I> - Class in net.dontdrinkandroot.persistence.dao
  Base implementation of a `TypedDao` that uses a JPA `EntityManager`.
TypedJpaDao(Class<E>) - Constructor for class net.dontdrinkandroot.persistence.dao.TypedJpaDao

## V

valueOf(String) - Static method in enum net.dontdrinkandroot.persistence.predicatebuilder.NumericOperator
  Returns the enum constant of this type with the specified name.
values() - Static method in enum net.dontdrinkandroot.persistence.predicatebuilder.NumericOperator
  Returns an array containing the constants of this enum type, in the order they are declared.

A C D E F G H I L N P S T V