Ignore:
Timestamp:
Apr 28, 2010, 4:28:39 PM (9 years ago)
Author:
duh
Message:
  • reverted changes of revisions 386, 387 and 388 as they completely broke the repository (you need to get cake now! ;)
  • committed development version of modified study capture wizard (works until events)
File:
1 edited

Legend:

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

    r386 r389  
    349349
    350350        /**
    351         * Return all fields defined in the underlying template and the built-in
    352         * domain fields of this entity
     351        * Return all templated fields defined in the underlying template of this entity
    353352        */
    354353        def List<TemplateField> giveFields() {
    355                 return this.giveDomainFields() + this.giveTemplateFields();
    356         }
    357 
    358         /**
    359         * Return all templated fields defined in the underlying template of this entity
    360         */
    361         def List<TemplateField> giveTemplateFields() {
    362354                return this.template.fields;
    363355        }
    364356
     357        def List<TemplateField> giveSystemFields() {
     358                return systemFields;
     359        }
     360       
     361
    365362        /**
    366363         * Return all relevant 'built-in' domain fields of the super class
    367          * @return List with DomainTemplateFields
    368          * @see DomainTemplateField
     364         * @return key-value pairs describing the built-in fields, with the names as keys and type (as TemplateFieldType) as values
    369365         */
    370         abstract List<DomainTemplateField> giveDomainFields()
    371 
     366        abstract Map giveDomainFields()
    372367        /*def giveDomainFields() {
    373368                def fieldSet = [:];
Note: See TracChangeset for help on using the changeset viewer.