Package org.projectforge.task

Examples of org.projectforge.task.TaskFilter


              + " is not assignable to (new) filter type TaskFilter (OK, probably new software release).");
        }
      }
    }
    if (this.searchFilter == null) {
      this.searchFilter = new TaskFilter();
      getParentPage().putUserPrefEntry(TaskListForm.class.getName() + ":Filter", this.searchFilter, true);
    }
    return this.searchFilter;
  }
View Full Code Here


  }

  @Override
  protected TaskFilter newSearchFilterInstance()
  {
    return new TaskFilter();
  }
View Full Code Here

  }

  private List<TaskDO> queryList(final String searchTerm, final Boolean notOpened, final Boolean opened, final Boolean closed,
      final Boolean deleted)
      {
    final TaskFilter filter = new TaskFilter();
    if (closed != null) {
      filter.setClosed(closed.booleanValue());
    }
    if (deleted != null) {
      filter.setDeleted(deleted.booleanValue());
    }
    if (opened != null) {
      filter.setOpened(opened.booleanValue());
    }
    if (notOpened != null) {
      filter.setNotOpened(notOpened.booleanValue());
    }
    filter.setSearchString(searchTerm);
    final List<TaskDO> list = taskDao.getList(filter);
    return list;
      }
View Full Code Here

  }

  private List<TaskDO> queryList(final String searchTerm, final Boolean notOpened, final Boolean opened, final Boolean closed,
      final Boolean deleted)
      {
    final TaskFilter filter = new TaskFilter();
    if (closed != null) {
      filter.setClosed(closed.booleanValue());
    }
    if (deleted != null) {
      filter.setDeleted(deleted.booleanValue());
    }
    if (opened != null) {
      filter.setOpened(opened.booleanValue());
    }
    if (notOpened != null) {
      filter.setNotOpened(notOpened.booleanValue());
    }
    filter.setSearchString(searchTerm);
    final List<TaskDO> list = taskDao.getList(filter);
    return list;
      }
View Full Code Here

TOP

Related Classes of org.projectforge.task.TaskFilter

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.