return gSend;
}
public void addLicense(User user, Long groupId, String type, int nbLicense, ProductList prodList) throws ServiceException {
try {
Group group = (Group) DaoFactory.getGroupDao().find(groupId);
Collection lics = prodList.getLicenses();
if (lics.size() < nbLicense) {
throw new ServiceException(RessourceBundleApplicationMessage.error("woj.page.admin.user.group.administrated.error.too.many.license", new Object[] {new Integer(nbLicense), new Integer(lics.size())}));
}
Iterator it = lics.iterator();