Examples of WsFindGroupsResults


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

            }else{
              filter.setQueryFilterType("FIND_BY_GROUP_NAME_APPROXIMATE");
            }
            filter.setGroupName(query);
            groupSearch.assignQueryFilter(filter);
            WsFindGroupsResults results = groupSearch.execute();
           
            if (results != null && results.getGroupResults() != null) {
                for (WsGroup g : results.getGroupResults()) {
                  if (validKey(g.getName())) {
                    if (LOGGER.isTraceEnabled()) {
                      LOGGER.trace("Retrieved group: " + g.getName());
                    }
                    groups.add(new EntityIdentifier(g.getName(),
View Full Code Here

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

    if (key != null) {

      GcFindGroups gcFindGroups = new GcFindGroups();
      gcFindGroups.addGroupName(key);
      WsFindGroupsResults results = gcFindGroups.execute();

      // if no results were returned, return null
      if (results != null && results.getGroupResults() != null
          && results.getGroupResults().length > 0) {

        if (LOGGER.isDebugEnabled()) {
          LOGGER.debug("found group from key " + key + ": "
              + results.getGroupResults()[0]);
        }

        wsGroup = results.getGroupResults()[0];
      }
    }

    return wsGroup;
    }
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.