@Override public void deepDeleteType(NoteType noteType) { typeDAO.delete(noteType); noteDAO.deepDeleteByType(noteType.getId()); }