public List<SMTPSettings> findAll() {
   try {
     return wpisFacade.findAll(SMTPSettings.class);
   } catch (Exception e) {
     E.e(e);
     return null;
   }
 }
示例#2
0
 public List<Amodok> findAll() {
   try {
     System.out.println("Pobieram AmodokDAO");
     return amodokFacade.findAll(Amodok.class);
   } catch (Exception e) {
     return null;
   }
 }
 public List<Ewidencjevat> findAll() {
   try {
     System.out.println("Pobieram EwidencjevatDAO");
     return ewidencjevatFacade.findAll(Ewidencjevat.class);
   } catch (Exception e) {
     return null;
   }
 }
示例#4
0
 public List<Amodok> amodokklient(String klient) {
   List<Amodok> lista = new ArrayList<>();
   for (Object p : amodokFacade.findAll(Amodok.class)) {
     if (((Amodok) p).getPodatnik().equals(klient)) {
       lista.add((Amodok) p);
     }
   }
   return lista;
 }