Package org.goobi.production.flow.statistics.hibernate

Examples of org.goobi.production.flow.statistics.hibernate.UserDefinedFilter


    this.showArchivedProjects = showArchivedProjects;
  }

  @SuppressWarnings("deprecation")
  public HSSFWorkbook getResult() {
    IEvaluableFilter myFilteredDataSource = new UserDefinedFilter(this.filter);
    Criteria crit = myFilteredDataSource.getCriteria();
    crit.add(Restrictions.eq("istTemplate", Boolean.valueOf(false)));
    if (!this.showClosedProcesses) {
      crit.add(Restrictions.not(Restrictions.eq("sortHelperStatus", "100000000")));
    }
    if (!this.showArchivedProjects) {
View Full Code Here


  public void filterProcesses() {

    if (this.processfilter == null) {
      this.processfilter = "";
    }
    this.myFilteredDataSource = new UserDefinedFilter(this.processfilter);
    Criteria crit = this.myFilteredDataSource.getCriteria();
    crit.addOrder(Order.desc("erstellungsdatum"));
    crit.add(Restrictions.eq("istTemplate", Boolean.valueOf(false)));
    crit.setMaxResults(getBatchMaxSize());
    try {
View Full Code Here

      // UserDefinedFilter
      // for statistics, we will have to hold a reference to the instance
      // of
      // UserDefinedFilter
   
      this.myFilteredDataSource = new UserDefinedFilter(this.filter);
   
      // set observable to replace helper.setMessage
      this.myFilteredDataSource.getObservable().addObserver(new Helper().createObserver());

      // // calling the criteria as the result of the filter
View Full Code Here

TOP

Related Classes of org.goobi.production.flow.statistics.hibernate.UserDefinedFilter

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.