示例#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;
 }
示例#2
0
 @Override
 public void setBrokersData(ArrayList<ListBoxDTO> data) {
   BaseListBoxUtils.setItemsToLB(brokersLB, data);
 }
示例#3
0
 @Override
 public void setBrokersNA() {
   BaseListBoxUtils.setItemsNAToLB(brokersLB);
 }
示例#4
0
 @Override
 public void setOfficesNA() {
   BaseListBoxUtils.setItemsNAToLB(officesLB);
 }
示例#5
0
 @Override
 public void setOfficesData(ArrayList<ListBoxDTO> data) {
   BaseListBoxUtils.setItemsToLB(officesLB, data);
 }
示例#6
0
 @Override
 public void setEstateSearchWrapper(EstateSearchWrapper wrapper) {
   if (wrapper.getStatusSearchTypeId() != null)
     BaseListBoxUtils.setSelectedItemByValue(estateStatusLB, "" + wrapper.getStatusSearchTypeId());
 }