Ignore:
Timestamp:
May 27, 2010, 1:13:50 PM (8 years ago)
Author:
tabma
Message:
  • refactored (now using configuration file where entities to be used are configured)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r444 r485  
    77 * Revision information:
    88 * $Rev$
    9  * $Author:$
     9 * $Author$
    1010 * $Date$
    1111 */
     
    143143                // @see ImporterController
    144144                importableEntities: [
    145                     study       : [name: 'Study', entity: 'dbnp.studycapturing.Study'],
    146                         subject : [name: 'Subject', entity: 'dbnp.studycapturing.Subject'],
    147                         sample  : [name: 'Sample', entity: 'dbnp.studycapturing.Sample']
     145                        none    : [name: 'None', entity:'', type:-1],
     146                        event   : [name: 'Event', entity:'dbnp.studycapturing.Event', type:2],
     147                        protocol: [name: 'Protocol', entity:'dbnp.studycapturing.Protocol', type:3],
     148                        sample  : [name: 'Sample', entity: 'dbnp.studycapturing.Sample', type:4],
     149                        study   : [name: 'Study', entity: 'dbnp.studycapturing.Study', type:0],
     150                        subject : [name: 'Subject', entity: 'dbnp.studycapturing.Subject', type:1]
     151
    148152                ]
    149153        ]
Note: See TracChangeset for help on using the changeset viewer.