@Repository public class TrashmailDao extends Object
| Modifier and Type | Field and Description | 
|---|---|
(package private) javax.persistence.EntityManager | 
em  | 
| Constructor and Description | 
|---|
TrashmailDao()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Trashmail> | 
findAllTrashmail()
Gibt eine Liste aller vorhandenen Trashmail-Objekte zurück. 
 | 
Trashmail | 
findTrashmail(String pattern)
Holt eine Liste vorhandenen Trashmail-Objekte anhand des Patterns. 
 | 
void | 
persist(Trashmail trashmail)
Das Objekt wird in der DB gespeichert. 
 | 
void | 
removeAll()
Entfernt alle Trashmail-Objekte. 
 | 
@Transactional public void persist(Trashmail trashmail)
trashmail - Das zu speichernde Objekt@Transactional public void removeAll()
@Transactional public List<Trashmail> findAllTrashmail()
Copyright © 2019. All rights reserved.