Ignore:
Timestamp:
Feb 9, 2011, 9:04:29 AM (11 years ago)
Author:
robert@…
Message:

Implemented basic exporting functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/nl/tno/metagenomics/integration/SynchronizationService.groovy

    r9 r12  
    9191         * @return      ArrayList       List of studies or null if the synchronization has failed
    9292         */
    93         public ArrayList<Study> synchronizeStudies() {
     93        public ArrayList<Study> synchronizeStudies() throws NotAuthenticatedException, Exception {
    9494                if( !performSynchronization() )
    9595                        return Study.findAllWhereTrashcan(false)
     
    467467
    468468                // Copy properties from gscf object
    469                 println "GSCF auth: " + gscfAuthorization
    470                
    471469                if( gscfAuthorization.canRead instanceof Boolean  )
    472470                        a.canRead = gscfAuthorization.canRead.booleanValue()
     
    478476                        a.isOwner = gscfAuthorization.isOwner.booleanValue()
    479477                       
    480                 println "Saved auth: " + a.canRead.toString() + " - " + a.canWrite.toString() + " - " + a.isOwner.toString()
    481 
    482478                a.save()
    483479
Note: See TracChangeset for help on using the changeset viewer.