Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1687

allow search for groups by multiple attributes and values

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.1, 2.4.0, 2.3.0.patch
    • None
    • None

    Description

      e.g. search for groups with a groupId as the group which loaded it, and a true for isLoaded

            Set<Group> groupsWithLoaderMetadata = new GroupFinder().assignPrivileges(AccessPrivilege.VIEW_PRIVILEGES)
                .assignIdOfAttributeDefName(loaderMetadataAttributeDefName.getId())
                .assignAttributeValuesOnAssignment(GrouperUtil.toSetObjectType(group.getId()))
                .assignIdOfAttributeDefName2(loaderMetadataLoadedAttributeDefName.getId())
                .assignAttributeValuesOnAssignment2(GrouperUtil.toSetObjectType("true"))
                .assignAttributeCheckReadOnAttributeDef(false)
                .assignQueryOptions(QueryOptions.create("displayName", true, 1, maxPageSize))
                .findGroups();
      
      

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist