return null;
}
public void setGroupProperty(String groupname, String property, String value) throws RemoteException {
try {
Group g = userbase.getGroup(groupname);
// this is where it would be nice to have a HashMap with function pointers
if ("setgroupslots".equals(property)) {
g.setSlots(Integer.parseInt(value));
} else if ("setleechslots".equals(property)) {
g.setLeechSlots(Integer.parseInt(value));
} else if ("setdescription".equals(property)) {
g.setDescription(value);
} else if ("setmaxallotment".equals(property)) {
g.setMaxAllotment(Long.parseLong(value));
} else if ("setallotmentslots".equals(property)) {
g.setAllotmentSlots(Integer.parseInt(value));
} else {
throw new IllegalArgumentException("Tried to find property that does not exist: [" + groupname + ':' + property + ']');
}
// NOTE: we can be guaranteed to not get any NumberFormatExceptions here, since the caller of this method does a conversion FROM the appropriate formate before sending it over the wire
} catch (NoSuchGroupException e) {