Changeset 1245 for trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
- Timestamp:
- Dec 9, 2010, 2:51:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r1233 r1245 16 16 SecUser owner // The owner of the study. A new study is automatically owned by its creator. 17 17 String title // The title of the study 18 String code // currently used as the external study ID, e.g. to reference a study in a SAM module 18 String description // A brief synopsis of what the study is about 19 String code // currently used as the external study ID, e.g. to reference a study in a SAM module 19 20 Date dateCreated 20 21 Date lastUpdated … … 74 75 type: TemplateFieldType.STRING, 75 76 required: true), 77 new TemplateField( 78 name: 'description', 79 type: TemplateFieldType.TEXT, 80 comment:'Give a brief synopsis of what your study is about', 81 required: false), 76 82 new TemplateField( 77 83 name: 'code', … … 431 437 // User that are not logged in, are not allowed to write to a study 432 438 if (user == null) 433 return [];439 return []; 434 440 435 441 def c = Study.createCriteria()
Note: See TracChangeset
for help on using the changeset viewer.