Changeset 787 for trunk/grails-app/domain
- Timestamp:
- Aug 6, 2010, 3:13:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r784 r787 100 100 } 101 101 102 103 102 /** 104 103 * Return all subjects for a specific template … … 153 152 TemplateEntity.giveTemplates(samples) 154 153 } 154 155 /** 156 * Return all samples for a specific template 157 * @param Template 158 * @return ArrayList 159 */ 160 def ArrayList<Subject> giveSamplesForTemplate(Template template) { 161 samples.findAll { it.template.equals(template) } 162 } 163 155 164 /** 156 165 * Returns the template of the study
Note: See TracChangeset
for help on using the changeset viewer.