Beispiel #1
0
 @Override
 public EstateSearchWrapper getEstateSearchWrapper() {
   EstateSearchWrapper wrapper = new EstateSearchWrapper();
   wrapper.setStatusSearchTypeId(BaseListBoxUtils.getSelectedValueAsInteger(estateStatusLB));
   Integer oId = BaseListBoxUtils.getSelectedValueAsInteger(officesLB);
   if (oId != null && oId > 0) wrapper.setOfficeId(oId);
   Integer bId = BaseListBoxUtils.getSelectedValueAsInteger(brokersLB);
   if (bId != null && bId > 0) wrapper.setBrokerId(bId);
   return wrapper;
 }
Beispiel #2
0
 @Override
 public void setBrokersData(ArrayList<ListBoxDTO> data) {
   BaseListBoxUtils.setItemsToLB(brokersLB, data);
 }
Beispiel #3
0
 @Override
 public void setBrokersNA() {
   BaseListBoxUtils.setItemsNAToLB(brokersLB);
 }
Beispiel #4
0
 @Override
 public void setOfficesNA() {
   BaseListBoxUtils.setItemsNAToLB(officesLB);
 }
Beispiel #5
0
 @Override
 public void setOfficesData(ArrayList<ListBoxDTO> data) {
   BaseListBoxUtils.setItemsToLB(officesLB, data);
 }
Beispiel #6
0
 @Override
 public void setEstateSearchWrapper(EstateSearchWrapper wrapper) {
   if (wrapper.getStatusSearchTypeId() != null)
     BaseListBoxUtils.setSelectedItemByValue(estateStatusLB, "" + wrapper.getStatusSearchTypeId());
 }