Ignore:
Timestamp:
Mar 4, 2011, 12:30:52 PM (11 years ago)
Author:
s.h.sikkema@…
Message:

Fixed tests (except webtests); cleaned up Example{Studies,Templates}.groovy; decapitalized injected services; made 'transactional' properties static

Location:
trunk/grails-app/services/dbnp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/authentication/AuthenticationService.groovy

    r1577 r1588  
    1818
    1919class AuthenticationService {
    20     def SpringSecurityService
     20    def springSecurityService
    2121    static final int expiryTime = 60; // Number of minutes a remotely logged in user remains active
    2222
    23     boolean transactional = true
     23    static transactional = true
    2424
    2525    public boolean isLoggedIn() {
    26         return SpringSecurityService.isLoggedIn();
     26        return springSecurityService.isLoggedIn();
    2727    }
    2828
    2929    public SecUser getLoggedInUser() {
    30       def principal = SpringSecurityService.getPrincipal()
     30      def principal = springSecurityService.getPrincipal()
    3131
    3232      // If the user is logged in, the principal should be a GrailsUser object.
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r1553 r1588  
    2222        def authenticationService
    2323
    24         boolean transactional = true
     24        static transactional = true
    2525
    2626        /**
  • trunk/grails-app/services/dbnp/modules/ModuleNotificationService.groovy

    r1581 r1588  
    1919
    2020class ModuleNotificationService implements Serializable {
    21     boolean transactional = false
     21    static transactional = false
    2222       
    2323    /**
Note: See TracChangeset for help on using the changeset viewer.