Changeset 12 for trunk/grails-app/services/nl/tno/metagenomics/integration/SynchronizationService.groovy
- Timestamp:
- Feb 9, 2011, 9:04:29 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/nl/tno/metagenomics/integration/SynchronizationService.groovy
r9 r12 91 91 * @return ArrayList List of studies or null if the synchronization has failed 92 92 */ 93 public ArrayList<Study> synchronizeStudies() {93 public ArrayList<Study> synchronizeStudies() throws NotAuthenticatedException, Exception { 94 94 if( !performSynchronization() ) 95 95 return Study.findAllWhereTrashcan(false) … … 467 467 468 468 // Copy properties from gscf object 469 println "GSCF auth: " + gscfAuthorization470 471 469 if( gscfAuthorization.canRead instanceof Boolean ) 472 470 a.canRead = gscfAuthorization.canRead.booleanValue() … … 478 476 a.isOwner = gscfAuthorization.isOwner.booleanValue() 479 477 480 println "Saved auth: " + a.canRead.toString() + " - " + a.canWrite.toString() + " - " + a.isOwner.toString()481 482 478 a.save() 483 479
Note: See TracChangeset
for help on using the changeset viewer.