Class AttributeAssignFinder

java.lang.Object
edu.internet2.middleware.grouper.attr.finder.AttributeAssignFinder

public class AttributeAssignFinder extends Object
finder methods for attribute assign
  • Constructor Details

    • AttributeAssignFinder

      public AttributeAssignFinder()
  • Method Details

    • assignFilter

      public AttributeAssignFinder assignFilter(String theFilter)
      filter text for groups, folders, attributes of owner
      Parameters:
      theFilter -
      Returns:
      this for chaining
    • assignSplitFilter

      public AttributeAssignFinder assignSplitFilter(boolean theSplitFilter)
      if filter should be split by whitespace, by default yes
      Parameters:
      theSplitFilter -
      Returns:
      this for chaining
    • assignRetrieveValues

      public AttributeAssignFinder assignRetrieveValues(boolean theRetrieveValues)
      if should retrieve values
      Parameters:
      theRetrieveValues -
      Returns:
      this for chaining
    • assignQueryOptions

      public AttributeAssignFinder assignQueryOptions(QueryOptions theQueryOptions)
      query options paging and sorting
      Parameters:
      theQueryOptions -
      Returns:
      this for chaining
    • assignIdOfAttributeDefNameOnAssignment0

      public AttributeAssignFinder assignIdOfAttributeDefNameOnAssignment0(String theIdOfAttributeDefNameOnAssignment0)
      id of attribute def name that there is an assignment on assignment of with a value or values (optional)
      Parameters:
      theIdOfAttributeDefNameOnAssignment0 -
      Returns:
      this for chaining
    • assignAttributeValuesOnAssignment0

      public AttributeAssignFinder assignAttributeValuesOnAssignment0(Set<Object> theAttributeValuesOnAssignment0)
      values that the attribute def name on assignment of assignment has
      Parameters:
      theAttributeValuesOnAssignment0 -
      Returns:
      this for chaining
    • assignIdOfAttributeDefNameOnAssignment1

      public AttributeAssignFinder assignIdOfAttributeDefNameOnAssignment1(String theIdOfAttributeDefNameOnAssignment1)
      id of second attribute def name that there is an assignment on assignment of with a value or values (optional)
      Parameters:
      theIdOfAttributeDefNameOnAssignment1 -
      Returns:
      this for chaining
    • assignAttributeValuesOnAssignment1

      public AttributeAssignFinder assignAttributeValuesOnAssignment1(Set<Object> theAttributeValuesOnAssignment1)
      values that the second attribute def name on assignment of assignment has
      Parameters:
      theAttributeValuesOnAssignment1 -
      Returns:
      this for chaining
    • assignCheckAttributeReadOnOwner

      public AttributeAssignFinder assignCheckAttributeReadOnOwner(boolean theCheckAttributeReadOnOwner)
      check read on owner
      Parameters:
      theCheckAttributeReadOnOwner -
      Returns:
      this for chaining
    • assignAttributeCheckReadOnAttributeDef

      public AttributeAssignFinder assignAttributeCheckReadOnAttributeDef(boolean theAttributeDefNameUseSecurity)
      use security around attribute def? default is true
      Parameters:
      theAttributeDefNameUseSecurity -
      Returns:
      this for chaining
    • assignAttributeAssignType

      public AttributeAssignFinder assignAttributeAssignType(AttributeAssignType theAttributeAssignType)
      assign the attribute assign type for querying by attribute
      Parameters:
      theAttributeAssignType -
      Returns:
      this for chaining
    • addAttributeDefNameId

      public AttributeAssignFinder addAttributeDefNameId(String attributeDefNameId)
      attribute def name id to find
      Parameters:
      attributeDefNameId -
      Returns:
      this for chaining
    • addAttributeDefId

      public AttributeAssignFinder addAttributeDefId(String attributeDefId)
      attribute def id to find
      Parameters:
      attributeDefId -
      Returns:
      this for chaining
    • assignAttributeDefNameIds

      public AttributeAssignFinder assignAttributeDefNameIds(Collection<String> theAttributeDefNameIds)
      attribute def name ids to find
      Parameters:
      theAttributeDefNameIds -
      Returns:
      this for chaining
    • assignAttributeDefIds

      public AttributeAssignFinder assignAttributeDefIds(Collection<String> theAttributeDefIds)
      attribute def ids to find
      Parameters:
      theAttributeDefIds -
      Returns:
      this for chaining
    • addOwnerGroupId

      public AttributeAssignFinder addOwnerGroupId(String ownerGroupId)
      add owner group id
      Parameters:
      ownerGroupId -
      Returns:
      this for chaining
    • assignOwnerGroupIds

      public AttributeAssignFinder assignOwnerGroupIds(Collection<String> ownerGroupIds1)
      add owner group id
      Parameters:
      ownerGroupIds1 -
      Returns:
      this for chaining
    • addOwnerAttributeAssignId

      public AttributeAssignFinder addOwnerAttributeAssignId(String ownerAttributeAssignId)
      add owner assign id
      Parameters:
      ownerAttributeAssignId -
      Returns:
      this for chaining
    • assignOwnerAttributeAssignIds

      public AttributeAssignFinder assignOwnerAttributeAssignIds(Collection<String> ownerAttributeAssignIds1)
      add owner assign id
      Parameters:
      ownerAttributeAssignIds1 -
      Returns:
      this for chaining
    • addOwnerStemId

      public AttributeAssignFinder addOwnerStemId(String ownerStemId)
      add owner stem id
      Parameters:
      ownerStemId -
      Returns:
      this for chaining
    • assignOwnerStemIds

      public AttributeAssignFinder assignOwnerStemIds(Collection<String> ownerStemIds1)
      add owner stem id
      Parameters:
      ownerStemIds1 -
      Returns:
      this for chaining
    • addOwnerMemberId

      public AttributeAssignFinder addOwnerMemberId(String ownerMemberId)
      add owner member id
      Parameters:
      ownerMemberId -
      Returns:
      this for chaining
    • assignOwnerMemberIds

      public AttributeAssignFinder assignOwnerMemberIds(Collection<String> ownerMemberIds1)
      add owner member id
      Parameters:
      ownerMemberIds1 -
      Returns:
      this for chaining
    • assignIncludeAssignmentsOnAssignments

      public AttributeAssignFinder assignIncludeAssignmentsOnAssignments(boolean theIncludeAssignAssignmentsOnAssignments)
      if assignments on assignments should also be included
      Parameters:
      theIncludeAssignAssignmentsOnAssignments -
      Returns:
      this for chaining
    • findAttributeAssignFinderResults

      public AttributeAssignFinderResults findAttributeAssignFinderResults()
      find all the attribute assigns
      Returns:
      the set of groups or the empty set if none found
    • findAttributeAssigns

      public Set<AttributeAssign> findAttributeAssigns()
      find all the attribute assigns
      Returns:
      the set of groups or the empty set if none found
    • addOwnerAttributeDefId

      public AttributeAssignFinder addOwnerAttributeDefId(String ownerAttributeDefId)
      add owner AttributeDef id
      Parameters:
      ownerAttributeDefId -
      Returns:
      this for chaining
    • assignOwnerAttributeDefIds

      public AttributeAssignFinder assignOwnerAttributeDefIds(Collection<String> ownerAttributeDefIds1)
      add owner AttributeDef id
      Parameters:
      ownerAttributeDefIds1 -
      Returns:
      this for chaining
    • findById

      public static AttributeAssign findById(String id, boolean exceptionIfNull)
      find an attributeAssign by id. This is a secure method, a GrouperSession must be open
      Parameters:
      id - of attributeAssign
      exceptionIfNull - true if exception should be thrown if null
      Returns:
      the attribute assign or null
      Throws:
      AttributeAssignNotFoundException