Mercurial > hg > ismi-richfaces
comparison src/main/java/de/mpiwg/itgroup/ismi/browse/EntityRepositoryBean.java @ 211:631864bfec2e
add methods for lost misattributions and misidentifications.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 04 Oct 2019 17:42:27 +0200 |
parents | 0b5d02012299 |
children |
comparison
equal
deleted
inserted
replaced
210:0aa8975784d9 | 211:631864bfec2e |
---|---|
152 * | 152 * |
153 * To be used for resultMode == all. | 153 * To be used for resultMode == all. |
154 * | 154 * |
155 * @throws IOException | 155 * @throws IOException |
156 */ | 156 */ |
157 public void downloadAllCsv() throws IOException { | 157 public void downloadAllCsv(ActionEvent ev) throws IOException { |
158 List<Entity> allEnts = getWrapper().getEntitiesByDef(getObjectClass()); | 158 List<Entity> allEnts = getWrapper().getEntitiesByDef(getObjectClass()); |
159 sendAsCsv(allEnts); | 159 sendAsCsv(allEnts); |
160 } | 160 } |
161 | 161 |
162 /** | 162 /** |
164 * | 164 * |
165 * To be used for resultMode == advanced. | 165 * To be used for resultMode == advanced. |
166 * | 166 * |
167 * @throws IOException | 167 * @throws IOException |
168 */ | 168 */ |
169 public void downloadAdvancedCsv() throws IOException { | 169 public void downloadAdvancedCsv(ActionEvent ev) throws IOException { |
170 sendAsCsv(getEntities()); | 170 sendAsCsv(getEntities()); |
171 } | 171 } |
172 | 172 |
173 /** | 173 /** |
174 * Send the given Entities as CSV file to the client. | 174 * Send the given Entities as CSV file to the client. |