OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 150 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 150 Rev 181
Line 60... Line 60...
60
        this.root = root;
60
        this.root = root;
61
        this.dir = dir;
61
        this.dir = dir;
62
        this.userMngr = userMngr;
62
        this.userMngr = userMngr;
63
    }
63
    }
64
 
64
 
-
 
65
    public UserManager getUserMngr() {
-
 
66
        return userMngr;
-
 
67
    }
-
 
68
 
65
    public final SQLElementDirectory getDirectory() {
69
    public final SQLElementDirectory getDirectory() {
66
        return this.dir;
70
        return this.dir;
67
    }
71
    }
68
 
72
 
69
    private final SQLTable getCalendarItemTable() {
73
    private final SQLTable getCalendarItemTable() {
Line 387... Line 391...
387
            System.err.println("OperationCalendarManager.getItemFromUid() nothing in db for uid: " + uid);
391
            System.err.println("OperationCalendarManager.getItemFromUid() nothing in db for uid: " + uid);
388
            return null;
392
            return null;
389
        }
393
        }
390
        return l.get(0);
394
        return l.get(0);
391
    }
395
    }
-
 
396
 
-
 
397
    /**
-
 
398
     * Enabled or disabled users
-
 
399
     */
-
 
400
    public List<User> getAllUsers() {
-
 
401
        final List<User> result = new ArrayList<>();
-
 
402
        for (User user : this.userMngr.getUsers().values()) {
-
 
403
            result.add(user);
-
 
404
        }
-
 
405
        return result;
-
 
406
    }
392
}
407
}