## Uses of Interface
net.dontdrinkandroot.persistence.entity.Entity

Packages that use Entity
Package | Description
--- | ---
net.dontdrinkandroot.persistence.dao |
net.dontdrinkandroot.persistence.entity |

### Uses of Entity in net.dontdrinkandroot.persistence.dao

Classes in net.dontdrinkandroot.persistence.dao with type parameters of type Entity
Modifier and Type | Interface and Description
--- | ---
`interface` | `TypedDao<E extends Entity<K>,K>` Contract of a Data Access Object that manages a specific `Entity` class.
`class` | `TypedJpaDao<E extends Entity<I>,I>` Base implementation of a `TypedDao` that uses a JPA `EntityManager`.

Methods in net.dontdrinkandroot.persistence.dao with type parameters of type Entity
Modifier and Type | Method and Description
--- | ---
`<E extends Entity<K>,K> void` | GenericJpaDao.`delete(E entity, Class<E> clazz)`
`<E extends Entity<K>,K> void` | GenericDao.`delete(E entity, Class<E> clazz)` Deletes the given entity of the given class.
`<E extends Entity<K>,K> void` | GenericJpaDao.`delete(K id, Class<E> clazz)`
`<E extends Entity<K>,K> void` | GenericDao.`delete(K id, Class<E> clazz)` Deletes the entity with the given id of the given class.
`<E extends Entity<K>,K> E` | GenericJpaDao.`find(K id, Class<E> clazz)`
`<E extends Entity<K>,K> E` | GenericDao.`find(K id, Class<E> clazz)` Finds the entity with the given id of the given class.
`<E extends Entity<K>,K> List<E>` | GenericJpaDao.`findAll(Class<E> clazz)`
`<E extends Entity<K>,K> List<E>` | GenericDao.`findAll(Class<E> clazz)` Finds all entities of the given class.
`<E extends Entity<K>,K> long` | GenericJpaDao.`getCount(Class<E> clazz)`
`<E extends Entity<K>,K> long` | GenericDao.`getCount(Class<E> clazz)` Counts the entities of the given class.
`<E extends Entity<K>,K> E` | GenericJpaDao.`load(K id, Class<E> clazz)`
`<E extends Entity<K>,K> E` | GenericDao.`load(K id, Class<E> clazz)` Loads the entity with the given id of the given class or throws an Exception if it was not found.
`<E extends Entity<K>,K> E` | GenericJpaDao.`save(E entity)`
`<E extends Entity<K>,K> E` | GenericDao.`save(E entity)` Saves the given entity.

### Uses of Entity in net.dontdrinkandroot.persistence.entity

Classes in net.dontdrinkandroot.persistence.entity that implement Entity
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractEntity<K>` Represents an entity with a primary key.
`class` | `AbstractGeneratedIdEntity<K>` `AbstractEntity` that has a primary key which is automatically generated.
`class` | `AbstractIdEntity<K>` `AbstractEntity` that has a primary key which needs to be assigned manually.
`class` | `GeneratedLongIdEntity`
`class` | `LongIdEntity`