Examples of WsQueryFilter


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

           
            // TODO: searches need to be performed against the group display
            // name rather than the group key
           
            GcFindGroups groupSearch = new GcFindGroups();
            WsQueryFilter filter = new WsQueryFilter();
            //is this an exact search or fuzzy
            if(method == IGroupConstants.IS){
              filter.setQueryFilterType("FIND_BY_GROUP_NAME_EXACT");
            }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()) {
View Full Code Here

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

    return wsStem.getName();
  }

  public ArrayList<Group> getGroups() {
    GcFindGroups gcf = new GcFindGroups();
    WsQueryFilter wsqf = new WsQueryFilter();
    wsqf.setStemName(wsStem.getName());
    wsqf.setQueryFilterType("FIND_BY_STEM_NAME");
    gcf.assignQueryFilter(wsqf);

    ArrayList<Group> groupResults = new ArrayList();

    WsGroup[] callResults = gcf.execute().getGroupResults();
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.