- Timestamp:
- 06/30/08 10:15:48 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/org/openmicroscopy/shoola/env/data/views/calls/AdminLoader.java
r5292 r5525 55 55 { 56 56 57 /** Identifies to load the available groups. */58 public static final int GROUP = 0;59 60 57 /** Identifies to load the available and used space. */ 61 58 public static final int SPACE = 1; … … 68 65 69 66 /** 70 * Creates a {@link BatchCall} to retrieve the experimenter groups.71 *72 * @param userID The id of the user or <code>-1</code>.73 * @return The {@link BatchCall}.74 */75 private BatchCall availableGroupsCall(final long userID)76 {77 return new BatchCall("Loading experimenter groups") {78 public void doCall() throws Exception79 {80 OmeroDataService os = context.getDataService();81 result = os.getAvailableGroups();82 }83 };84 }85 86 /**87 67 * Creates a {@link BatchCall} to retrieve the available and used 88 68 * disk space. … … 93 73 private BatchCall availableSpaceCall(final long userID) 94 74 { 95 return new BatchCall("Loading available and used disk space") {75 return new BatchCall("Loading disk space information") { 96 76 public void doCall() throws Exception 97 77 { … … 163 143 { 164 144 switch (index) { 165 case GROUP:166 loadCall = availableGroupsCall(userID);167 break;168 145 case SPACE: 169 146 loadCall = availableSpaceCall(userID);
