Changeset 807 for trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
- Timestamp:
- Aug 16, 2010, 10:38:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r805 r807 294 294 }.each() { 295 295 // remove sample from study 296 297 // ------- 298 // NOTE, the right samples are found, but the don't 299 // get deleted from the database! 300 // ------- 301 296 302 println ".removing sample "+it 303 msg += ", sample '${it.name}' was deleted" 297 304 this.removeFromSamples( it ) 298 305 } … … 300 307 301 308 // remove all samplingEvents from this eventGroup 302 eventGroup.samplingEvents.findAll{}.each() { eventGroup.removeFromSamplingEvents(it) } 309 eventGroup.samplingEvents.findAll{}.each() { 310 eventGroup.removeFromSamplingEvents(it) 311 msg += ", samplingEvent '${it.name}' was removed from eventGroup '${eventGroup.name}'" 312 } 303 313 304 314 // remove all subject from this eventGroup 305 eventGroup.subjects.findAll{}.each() { eventGroup.removeFromSubjects(it) } 315 eventGroup.subjects.findAll{}.each() { 316 eventGroup.removeFromSubjects(it) 317 msg += ", subject '${it.name}' was removed from eventGroup '${eventGroup.name}'" 318 } 306 319 307 320 // remove the eventGroup from the study
Note: See TracChangeset
for help on using the changeset viewer.