@Override
  public List<Employee> load(
      int first, int pageSize, String sortField, SortOrder sortOrder, Map<String, Object> filters) {
    if (!filters.isEmpty()) {
      for (Iterator<String> it = filters.keySet().iterator(); it.hasNext(); ) {
        try {
          String filterProperty = it.next();
          Object filterValue = filters.get(filterProperty);
          String name = filterValue.toString();

          this.showEmpls = empManage.getFilteredEmployeeByLikeName(name, first, pageSize);
          setRowCount(empManage.getNumberOfFindByLikeNameContents(name).intValue());
        } catch (Exception e) {
          e.printStackTrace();
        }
      }
    } else {
      System.out.println("**************first:" + first + "\tpageSize:" + pageSize);
      this.showEmpls = empManage.getEmployee(first, pageSize);
    }
    return this.showEmpls;
  }
  @Override
  public Employee getRowData(String rowKey) {
    System.out.println("GET ROW DATA INPUT DATA: " + rowKey);

    return empManage.getEmployeeByID(rowKey);
  }
 EmployeeSelectionModel(EmployeeManager empManage) {
   this.empManage = empManage;
   setPageSize(20);
   setRowCount(empManage.getNumberOfContents().intValue());
 }