Package de.sub.goobi.helper

Examples of de.sub.goobi.helper.Page


    try {
      Session session = Helper.getHibernateSession();
      session.clear();
      Criteria crit = session.createCriteria(Projekt.class);
      crit.addOrder(Order.asc("titel"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("could not read", he.getMessage());
      myLogger.error(he.getMessage());
      return "";
    }
View Full Code Here


    try {
      Session session = Helper.getHibernateSession();
      session.clear();
      Criteria crit = session.createCriteria(Regelsatz.class);
      crit.addOrder(Order.asc("titel"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("fehlerBeimEinlesen", he.getMessage());
      return "";
    }
    return "RegelsaetzeAlle";
View Full Code Here

      if (hideCorrectionTasks) {
        crit.add(Restrictions.not(Restrictions.eq("prioritaet", 10)));
      }

      sortList(crit);
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("error on reading database", he.getMessage());
      return "";
    }
    return "AktuelleSchritteAlle";
View Full Code Here

    try {
      Session session = Helper.getHibernateSession();
      session.clear();
      Criteria crit = session.createCriteria(Benutzergruppe.class);
      crit.addOrder(Order.asc("titel"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("Error, could not read", he.getMessage());
      return "";
    }
    return "BenutzergruppenAlle";
View Full Code Here

      }
      if (!this.showArchivedProjects) {
        crit.add(Restrictions.not(Restrictions.eq("proj.projectIsArchived", true)));
      }
      sortList(crit, false);
      this.page = new Page(crit, 0);

    } catch (HibernateException he) {
      Helper.setFehlerMeldung("ProzessverwaltungForm.FilterAktuelleProzesse", he);
      return "";
    }
View Full Code Here

      Criteria crit = this.myFilteredDataSource.getCriteria();
      if (!this.showArchivedProjects) {
        crit.add(Restrictions.not(Restrictions.eq("proj.projectIsArchived", true)));
      }
      sortList(crit, false);
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("ProzessverwaltungForm.FilterVorlagen", he);
      return "";
    }
    this.modusAnzeige = "vorlagen";
View Full Code Here

      } else {
        /* noch sortieren */
        sortList(crit, true);
      }

      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("fehlerBeimEinlesen", he.getMessage());
      return "";
    } catch (NumberFormatException ne) {
      Helper.setFehlerMeldung("Falsche Suchparameter angegeben", ne.getMessage());
View Full Code Here

    try {
      Session session = Helper.getHibernateSession();
        session.clear();
      Criteria crit = session.createCriteria(LdapGruppe.class);
      crit.addOrder(Order.asc("titel"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("Error on reading database", he.getMessage());
      return "";
    }
    return "LdapGruppenAlle";
View Full Code Here

      if (this.hideInactiveUsers) {
        crit.add(Restrictions.eq("istAktiv", true));
      }
      crit.addOrder(Order.asc("nachname"));
      crit.addOrder(Order.asc("vorname"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("Error, could not read", he.getMessage());
      return "";
    }
    return "BenutzerAlle";
View Full Code Here

//        ex.add(Restrictions.like("group.titel", "%" + this.filter + "%"));
        crit.add(ex);
      }
      crit.addOrder(Order.asc("nachname"));
      crit.addOrder(Order.asc("vorname"));
      this.page = new Page(crit, 0);
    } catch (HibernateException he) {
      Helper.setFehlerMeldung("Error, could not read", he.getMessage());
      return "";
    }
    return "BenutzerAlle";
View Full Code Here

TOP

Related Classes of de.sub.goobi.helper.Page

Copyright © 2018 www.massapicom. 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.