Examples of modifyUserSet()


Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

    UserSetManager userSetManager = new UserSetManager(locale,session);
    Set<UserSet> oldUserSets = user.getUserSets();
    for (Iterator iterator = oldUserSets.iterator(); iterator.hasNext();) {
      UserSet userSet = (UserSet) iterator.next();
      userSet.getUsers().remove(user);
      userSetManager.modifyUserSet(userSet);
    }
   
    return super.modify(mapping, form, req, resp);
  }
View Full Code Here

Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

    }
    checkAccessRights(req, userSet.getGroup());
    userSet.setName(userSetEnterOrEditForm.getUserSetName());
    userSet.setDescription(userSetEnterOrEditForm.getDescription());
    userSet.setHidden(userSetEnterOrEditForm.getHidden()==true?1:0);
    userSetManager.modifyUserSet(userSet);
    return mapping.findForward("modified");
  }

  /**
   * Fetches the requested user set data and prepares it for editing
View Full Code Here

Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

        } else {                          // in list and not checked
          userSet.getUsers().remove(user);            // remove from userset, don't mind if it's not there
        }
      }
    }
    userSetManager.modifyUserSet(userSet);
    userSetAssociationListForm.setDisplayAll(false)// show only selected for the user to see the difference
    prepareContentForUserSetList(form,req,session,userSetAssociationListForm.getFilterString());
    logProcessingTime("Updating the user to set relation");
    return mapping.findForward("modified");
  }
View Full Code Here

Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

    Set<UserSet> newUserSets = user.getUserSets();
    UserSetManager userSetManager = new UserSetManager(locale,session);
    for (Iterator iterator = newUserSets.iterator(); iterator.hasNext();) {
      UserSet userSet = (UserSet) iterator.next();
      userSet.getUsers().add(user);
      userSetManager.modifyUserSet(userSet);
    }
  }
 
  /**
   * @see evolaris.framework.sys.web.form.EnterEditDuplicateForm#deleteEntry(java.lang.Object, java.util.Locale, org.hibernate.Session, org.apache.struts.util.MessageResources)
View Full Code Here

Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

    // store new references
    Set<UserSet> newUserSets = entry.getUserSets();
    for (Iterator iterator = newUserSets.iterator(); iterator.hasNext();) {
      UserSet userSet = (UserSet) iterator.next();
      userSet.getUsers().add(entry);
      userSetManager.modifyUserSet(userSet);
    }
   
    UserManager userManager = new UserManager(locale,session);
    userManager.modifyUser(entry);
  }
View Full Code Here

Examples of evolaris.framework.um.business.UserSetManager.modifyUserSet()

    userSetEnterOrEditForm.setConfirmationPending(false);
    UserSet newUserSet = userSetManager.duplicate(originalUserSet,group,userSetEnterOrEditForm.getUserSetName(),includeUserAssignments);
    checkAccessRights(req, newUserSet.getGroup());
    newUserSet.setDescription(userSetEnterOrEditForm.getDescription());
    newUserSet.setHidden(userSetEnterOrEditForm.getHidden()==true?1:0);
    userSetManager.modifyUserSet(newUserSet);
    setCurrentGroup(req, resp, group); // switch group in global group selection
    return mapping.findForward("created");
  }

  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.