if (UtilMethods.isSet(form.getCategory())) {
Category category;
for (String categoryId: form.getCategory()) {
category = categoryAPI.find(categoryId, APILocator.getUserAPI().getSystemUser(), false);
if(InodeUtils.isSet(category.getInode())) {
categoryAPI.addChild(userProxy, category, APILocator.getUserAPI().getSystemUser(), false);
}
}
}
HibernateUtil.commitTransaction();