public void setSearchNameValid(boolean val) {
   if (val) {
     search.setName(search.getName());
   } else {
     search.unsetName();
   }
 }
 public void setSearchStartInsertDate(Date val) {
   if (val != null) {
     search.setStartInsertDate(val);
   } else {
     search.unsetStartInsertDate();
   }
 }
 public void setSearchStartInsertDateValid(boolean val) {
   if (val) {
     search.setStartInsertDate(search.getStartInsertDate());
   } else {
     search.unsetStartInsertDate();
   }
 }
 public void setSearchCostValid(boolean val) {
   if (val) {
     search.setCost(search.getCost());
   } else {
     search.unsetCost();
   }
 }
 public void setSearchEndUpdateDateValid(boolean val) {
   if (val) {
     search.setEndUpdateDate(search.getEndUpdateDate());
   } else {
     search.unsetEndUpdateDate();
   }
 }
 public void setSearchEndUpdateDate(Date val) {
   if (val != null) {
     search.setEndUpdateDate(val);
   } else {
     search.unsetEndUpdateDate();
   }
 }
 public void setSearchBenefitsValid(boolean val) {
   if (val) {
     search.setBenefits(search.getBenefits());
   } else {
     search.unsetBenefits();
   }
 }
 public void setSearchUserValid(boolean val) {
   if (val) {
     search.setUser(search.getUser());
   } else {
     search.unsetUser();
   }
 }
 public void setSearchDescriptionValid(boolean val) {
   if (val) {
     search.setDescription(search.getDescription());
   } else {
     search.unsetDescription();
   }
 }
 public void setSearchDepartmentIdValid(boolean val) {
   if (val) {
     search.setDepartmentId(search.getDepartmentId());
   } else {
     search.unsetDepartmentId();
   }
 }
 public void setSearchEndCreationDate(Date val) {
   if (val != null) {
     search.setEndCreationDate(val);
   } else {
     search.unsetEndCreationDate();
   }
 }
  /** Handle an ABC pager letter click: filter objects by specified starting letter */
  public void letterClicked() {
    if (letter != null) {
      UIComponent comp = FacesUtils.getComponent("ideas:list");
      HtmlDataTable tabla = (HtmlDataTable) comp;
      tabla.setFirst(0);

      search.setName(letter + "%");
    } else {
      search.unsetName();
    }
  }
 public boolean isSearchUserValid() {
   return search.isUserSet();
 }
 public User getSearchUser() {
   return search.getUser();
 }
 public void setSearchUser(User val) {
   if (search.isUserSet()) {
     search.setUser(val);
   }
 }
 public boolean isSearchEndUpdateDateValid() {
   return search.isEndUpdateDateSet();
 }
 public String getSearchCost() {
   return search.getCost();
 }
 public Date getSearchStartInsertDate() {
   return search.getStartInsertDate();
 }
 public void setSearchCost(String val) {
   if (search.isCostSet()) {
     search.setCost(val);
   }
 }
 public Date getSearchStartUpdateDate() {
   return search.getStartUpdateDate();
 }
 public boolean isSearchStartUpdateDateValid() {
   return search.isStartUpdateDateSet();
 }
 public Date getSearchEndInsertDate() {
   return search.getEndInsertDate();
 }
 public boolean isSearchEndInsertDateValid() {
   return search.isEndInsertDateSet();
 }
 public boolean isSearchCostValid() {
   return search.isCostSet();
 }
 public Integer getSearchDepartmentId() {
   return search.getDepartmentId();
 }
 public void setSearchDepartmentId(Integer val) {
   if (search.isDepartmentIdSet()) {
     search.setDepartmentId(val);
   }
 }
 public boolean isSearchBenefitsValid() {
   return search.isBenefitsSet();
 }
 public Date getSearchEndUpdateDate() {
   return search.getEndUpdateDate();
 }
 public boolean isSearchStartInsertDateValid() {
   return search.isStartInsertDateSet();
 }
 public boolean isSearchDepartmentIdValid() {
   return search.isDepartmentIdSet();
 }