public class IgnoredDAO
extends java.lang.Object
Ignored
by JPA queries.Constructor and Description |
---|
IgnoredDAO() |
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(java.lang.String identifier,
javax.persistence.EntityManager em)
checks, whether a specific
Ignored object is in the database |
static java.util.List<Ignored> |
listIgnored()
returns a list of all
Ignored objects in the database |
static void |
persistIgnorance(Ignored ignored)
persists a single
Ignored object to the database |
static void |
removeIgnored(java.lang.String identifier)
removes an
Ignored object to the database |
public static boolean contains(java.lang.String identifier, javax.persistence.EntityManager em)
Ignored
object is in the databaseidentifier
- the identifier of the object to be checkedem
- the entity manager for the databasepublic static java.util.List<Ignored> listIgnored()
Ignored
objects in the databaseIgnored
objects in the databasepublic static void removeIgnored(java.lang.String identifier)
Ignored
object to the databaseidentifier
- the identifier of the Ignored
object to be removedpublic static void persistIgnorance(Ignored ignored)
Ignored
object to the databaseignored
- the Ignored
object to be persisted