Ignore:
Timestamp:
Feb 25, 2010, 3:06:16 PM (9 years ago)
Author:
keesvb
Message:

refactored template entity code into TemplateEntity?, added more template field types, updated BootStrap? with some more details on PPSH, changed code in study overview to get template field contents in a nicer way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r190 r212  
    99 * $Date$
    1010 */
    11 class Study implements Serializable {
     11class Study extends TemplateEntity implements Serializable {
    1212        static searchable = true
    1313        nimble.User owner
     
    2222        Template template
    2323
    24         static hasMany = [      editors: nimble.User,
    25                         readers: nimble.User,
    26                         subjects: Subject,
    27                         groups: SubjectGroup,
    28                         events: Event,
    29                         samplingEvents: SamplingEvent,
    30                         assays: Assay,
    31             persons: StudyPerson,
    32             publications: Publication
     24        static hasMany = [
     25                editors: nimble.User,
     26                readers: nimble.User,
     27                subjects: Subject,
     28                groups: SubjectGroup,
     29                events: Event,
     30                samplingEvents: SamplingEvent,
     31                assays: Assay,
     32                persons: StudyPerson,
     33                publications: Publication
    3334        ]
    3435
Note: See TracChangeset for help on using the changeset viewer.