T - type of the managed AEntitypublic interface ICrudDAO<T extends AEntity>
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String id)
deletes the given object using its id.
|
void |
delete(T object)
deletes the given object using its id.
|
T |
findById(String id)
find the element with the given id
|
List<T> |
findList() |
T |
save(T object)
saves the goven element
|
T findById(String id)
id - the id to findnull if no element exists with this idT save(T object)
object - the element to savevoid delete(T object)
object - the object to deletevoid delete(String id)
id - the id of the object to deleteCopyright © 2015–2016 Taimos GmbH. All rights reserved.