Changeset 1421 for trunk/grails-app/services/dbnp/importer
- Timestamp:
- Jan 20, 2011, 6:13:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/dbnp/importer/ImporterService.groovy
r1417 r1421 31 31 32 32 class ImporterService { 33 def AuthenticationService33 def authenticationService 34 34 35 35 boolean transactional = true … … 276 276 * @param datamatrix two dimensional array containing entities with values read from Excel file 277 277 */ 278 static saveDatamatrix(Study study, datamatrix ) {278 static saveDatamatrix(Study study, datamatrix, authenticationService) { 279 279 def validatedSuccesfully = 0 280 280 def entitystored = null … … 288 288 switch (entity.getClass()) { 289 289 case Study: println "Persisting Study `" + entity + "`: " 290 entity.owner = AuthenticationService.getLoggedInUser()290 entity.owner = authenticationService.getLoggedInUser() 291 291 persistEntity(entity) 292 292 break
Note: See TracChangeset
for help on using the changeset viewer.