Mercurial > hg > ismi-richfaces
comparison src/main/java/de/mpiwg/itgroup/ismi/browse/AbstractEntityRepositoryBean.java @ 207:91f177641ec7
New clean actions to delete lost floruit_dates and empty references.
author | casties |
---|---|
date | Mon, 26 Aug 2019 16:06:55 +0200 |
parents | b0b0f8e63c26 |
children |
comparison
equal
deleted
inserted
replaced
206:111fc1d17019 | 207:91f177641ec7 |
---|---|
216 this.resultSummaryMsg = "No items were found!"; | 216 this.resultSummaryMsg = "No items were found!"; |
217 } | 217 } |
218 } | 218 } |
219 | 219 |
220 | 220 |
221 public void searchByAttributes() throws Exception { | 221 public void searchByAttributes(List<AttributeFilter> filterList) throws Exception { |
222 this.resultMode = MODE_ADVANCED; | 222 this.resultMode = MODE_ADVANCED; |
223 this.setPage(""); | 223 this.setPage(""); |
224 this.entities = new ArrayList<Entity>(); | 224 this.entities = new ArrayList<Entity>(); |
225 this.currentEntities = new ArrayList<Entity>(); | 225 this.currentEntities = new ArrayList<Entity>(); |
226 | 226 |
227 List<AttributeFilter> filterList = new ArrayList<AttributeFilter>(); | 227 if (filterList == null) { |
228 filterList = new ArrayList<AttributeFilter>(); | |
229 } | |
228 | 230 |
229 this.resultSummaryMsg = ""; | 231 this.resultSummaryMsg = ""; |
230 Map<Entity, Attribute> resultMap = new HashMap<Entity, Attribute>(); | 232 Map<Entity, Attribute> resultMap = new HashMap<Entity, Attribute>(); |
231 | 233 |
232 /* | 234 /* |
354 return false; | 356 return false; |
355 } | 357 } |
356 | 358 |
357 public String actionSearchByAttributes() { | 359 public String actionSearchByAttributes() { |
358 try { | 360 try { |
359 this.searchByAttributes(); | 361 this.searchByAttributes(null); |
360 } catch (Exception e) { | 362 } catch (Exception e) { |
361 printInternalError(e); | 363 printInternalError(e); |
362 logger.error(e.getMessage(), e); | 364 logger.error(e.getMessage(), e); |
363 } | 365 } |
364 | 366 |