Package de.sub.goobi.persistence

Examples of de.sub.goobi.persistence.SchrittDAO.search()


    Set<Benutzergruppe> neueGruppen = new HashSet<Benutzergruppe>();
    neueGruppen.add(gruppe);

    SchrittDAO dao = new SchrittDAO();
    //TODO: Try to avoid SQL
    List<Schritt> schritte = dao.search("from Schritt where titel='Automatische Generierung der SICI'");
    for (Schritt auf : schritte) {
      auf.setBenutzergruppen(neueGruppen);
      dao.save(auf);
    }
    Helper.setMeldung(null, "", "Sici erfolgreich korrigiert");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.