List ipRangeGroups = (List) getParameter(IP_RANGE_GROUPS);
for (Iterator i = ipRangeGroups.iterator(); i.hasNext(); ) {
Group group = (Group) i.next();
group.add(ipRange);
}
ipRange.save();
}
protected IPRange getIpRange() {
String ipRangeId = getParameterAsString(IPRangeProfile.ID);
IPRange ipRange = getIpRangeManager().getIPRange(ipRangeId);