Class GdgTypeGroupFinder

java.lang.Object
edu.internet2.middleware.grouper.app.grouperTypes.GdgTypeGroupFinder

public class GdgTypeGroupFinder extends Object

Use this class to find objects type attributes on groups

Sample call

 GrouperObjectTypesAttributeValue attributeValue = new GdgTypeGroupFinder().assignGroup(group).assignType("ref").findGdgTypeGroupAssignment();
 

Sample call to find multiple object types attributes on a group

 Set attributeValues = new GdgTypeGroupFinder().assignGroup(group).findGdgTypeGroupAssignments();
 

  • Constructor Details

    • GdgTypeGroupFinder

      public GdgTypeGroupFinder()
  • Method Details

    • assignGroup

      public GdgTypeGroupFinder assignGroup(Group group)
      assign group from which to retrieve object types attributes
      Parameters:
      stem -
      Returns:
    • assignGroupId

      public GdgTypeGroupFinder assignGroupId(String groupId)
      assign group id from which to retrieve object types attributes
      Parameters:
      stem -
      Returns:
    • assignGroupName

      public GdgTypeGroupFinder assignGroupName(String groupName)
      assign group name from which to retrieve object types attributes
      Parameters:
      stem -
      Returns:
    • assignType

      public GdgTypeGroupFinder assignType(String type)
      type e.g. ref, basis, app
      Parameters:
      type -
      Returns:
    • assignRunAsRoot

      public GdgTypeGroupFinder assignRunAsRoot(boolean runAsRoot)
      set this to true to run as a root session
      Parameters:
      runAsRoot -
      Returns:
    • assignDirectAssignment

      public GdgTypeGroupFinder assignDirectAssignment(Boolean directAssignment)
      only find attributes where direct assignment is true (possible values: null (default), true, false)
      Parameters:
      directAssignment -
      Returns:
    • findGdgTypeGroupAssignment

      public GrouperObjectTypesAttributeValue findGdgTypeGroupAssignment()
      find bean containing object types attributes on a group
      Returns:
    • findGdgTypeGroupAssignments

      public Set<GrouperObjectTypesAttributeValue> findGdgTypeGroupAssignments()
      find bean containing object types attributes on a group
      Returns: