Examples of WsGroup


Examples of edu.internet2.middleware.grouperClient.ws.beans.WsGroup

            // Search the Grouper server for groups with the specified local
            // key
          if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("Searching Grouper for a direct match for key: " + key);
          }
            WsGroup wsGroup = findGroupFromKey(key);
            if (wsGroup == null) {
              return null;
            }
            IEntityGroup group = createUportalGroupFromGrouperGroup(wsGroup);
           
View Full Code Here

Examples of edu.internet2.middleware.grouperClient.ws.beans.WsGroup

            final List<IEntityGroup> members = new ArrayList<IEntityGroup>();
            WsSubject[] subjects = results.getResults()[0].getWsSubjects();

      for (WsSubject wsSubject : subjects) {
                if (validKey(wsSubject.getName())) {
                    WsGroup wsGroup = findGroupFromKey(wsSubject
                            .getName());
                    if (wsGroup != null) {
                        IEntityGroup member = createUportalGroupFromGrouperGroup(wsGroup);
                        members.add(member);
                        if (LOGGER.isTraceEnabled()) {
View Full Code Here

Examples of edu.internet2.middleware.grouperClient.ws.beans.WsGroup

     *
     * @param key
     * @return the group or null
     */
    protected WsGroup findGroupFromKey(String key) {
      WsGroup wsGroup = null;

    if (key != null) {

      GcFindGroups gcFindGroups = new GcFindGroups();
      gcFindGroups.addGroupName(key);
View Full Code Here

Examples of edu.internet2.middleware.grouperClient.ws.beans.WsGroup

        String displayExtension = group.getName();

        WsGroupToSave wsGroupToSave = new WsGroupToSave();
        wsGroupToSave.setCreateParentStemsIfNotExist("T");
        wsGroupToSave.setWsGroupLookup(new WsGroupLookup(groupName, null));
        WsGroup wsGroup = new WsGroup();
        wsGroup.setName(groupName);
        wsGroup.setDisplayExtension(displayExtension);
        wsGroup.setDescription(description);
        wsGroupToSave.setWsGroup(wsGroup);

        new GcGroupSave().addGroupToSave(wsGroupToSave).execute();

        updateMembers(group);
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.