Class WsQueryFilter

java.lang.Object
edu.internet2.middleware.grouper.ws.soap_v2_4.WsQueryFilter

public class WsQueryFilter extends Object
this represents a query which can be and'ed or or'ed
  • Constructor Details

    • WsQueryFilter

      public WsQueryFilter()
  • Method Details

    • getTypeOfGroups

      public String getTypeOfGroups()
      comma separated type of groups can be an enum of TypeOfGroup, e.g. group, role, entity
      Returns:
      type of group
    • setTypeOfGroups

      public void setTypeOfGroups(String typeOfGroups1)
      comma separated type of groups can be an enum of TypeOfGroup, e.g. group, role, entity
      Parameters:
      typeOfGroups1 -
    • getQueryFilterType

      public String getQueryFilterType()
      findGroupType is the WsQueryFilterType enum for which type of find is happening: e.g. FIND_BY_GROUP_UUID, FIND_BY_GROUP_NAME_EXACT, FIND_BY_STEM_NAME, FIND_BY_APPROXIMATE_ATTRIBUTE, FIND_BY_ATTRIBUTE, FIND_BY_GROUP_NAME_APPROXIMATE, FIND_BY_TYPE, AND, OR, MINUS;
      Returns:
      the findGroupType
    • setQueryFilterType

      public void setQueryFilterType(String findGroupType1)
      findGroupType is the WsQueryFilterType enum for which type of find is happening: e.g. FIND_BY_GROUP_UUID, FIND_BY_GROUP_NAME_EXACT, FIND_BY_STEM_NAME, FIND_BY_APPROXIMATE_ATTRIBUTE, FIND_BY_ATTRIBUTE, FIND_BY_GROUP_NAME_APPROXIMATE, FIND_BY_TYPE, AND, OR, MINUS;
      Parameters:
      findGroupType1 - the findGroupType to set
    • getGroupName

      public String getGroupName()
      groupName search by group name (must match exactly), cannot use other params with this
      Returns:
      the groupName
    • setGroupName

      public void setGroupName(String groupName1)
      groupName search by group name (must match exactly), cannot use other params with this
      Parameters:
      groupName1 - the groupName to set
    • getStemName

      public String getStemName()
      stemName will return groups only in this stem
      Returns:
      the stemName
    • setStemName

      public void setStemName(String stemName1)
      stemName will return groups only in this stem
      Parameters:
      stemName1 - the stemName to set
    • getStemNameScope

      public String getStemNameScope()
      stemNameScope if searching by stem, ONE_LEVEL is for one level, ALL_IN_SUBTREE will return all in sub tree. Default is ALL_IN_SUBTREE
      Returns:
      the stemNameScope
    • setStemNameScope

      public void setStemNameScope(String stemNameScope1)
      stemNameScope if searching by stem, ONE_LEVEL is for one level, ALL_IN_SUBTREE will return all in sub tree. Default is ALL_IN_SUBTREE
      Parameters:
      stemNameScope1 - the stemNameScope to set
    • getGroupUuid

      public String getGroupUuid()
      groupUuid search by group uuid (must match exactly), cannot use other
      Returns:
      the groupUuid
    • setGroupUuid

      public void setGroupUuid(String groupUuid1)
      groupUuid search by group uuid (must match exactly), cannot use other
      Parameters:
      groupUuid1 - the groupUuid to set
    • getQueryTerm

      public String getQueryTerm()
      queryTerm if searching by query, this is a term that will be matched to name, extension, etc
      Returns:
      the queryTerm
    • setQueryTerm

      public void setQueryTerm(String queryTerm1)
      queryTerm if searching by query, this is a term that will be matched to name, extension, etc
      Parameters:
      queryTerm1 - the queryTerm to set
    • getGroupAttributeName

      public String getGroupAttributeName()
      if querying, this is the attribute name, or null or search all attributes
      Returns:
      the attributeName
    • setGroupAttributeName

      public void setGroupAttributeName(String attributeName1)
      if querying, this is the attribute name, or null or search all attributes
      Parameters:
      attributeName1 - the attributeName to set
    • getGroupTypeName

      public String getGroupTypeName()
      if searching by type, this is the type to search for. not yet implemented
      Returns:
      the theType
    • setGroupTypeName

      public void setGroupTypeName(String theType1)
      if searching by type, this is the type to search for. not yet implemented
      Parameters:
      theType1 - the theType to set
    • getQueryFilter0

      public WsQueryFilter getQueryFilter0()
      if 'and' or 'or' this is the first group, and if complement, this is the group to complement
      Returns:
      the queryFilter0
    • setQueryFilter0

      public void setQueryFilter0(WsQueryFilter theQueryFilter0)
      if 'and' or 'or' this is the first group, and if complement, this is the group to complement
      Parameters:
      theQueryFilter0 - the queryFilter0 to set
    • getQueryFilter1

      public WsQueryFilter getQueryFilter1()
      if 'and' or 'or', this is the second group
      Returns:
      the queryFilter1
    • setQueryFilter1

      public void setQueryFilter1(WsQueryFilter theQueryFilter1)
      if 'and' or 'or', this is the second group
      Parameters:
      theQueryFilter1 - the queryFilter1 to set
    • getGroupAttributeValue

      public String getGroupAttributeValue()
      groupAttributeValue if searching by query, this is a term that will be matched to
      Returns:
      the groupAttributeValue
    • setGroupAttributeValue

      public void setGroupAttributeValue(String groupAttributeValue1)
      groupAttributeValue if searching by query, this is a term that will be matched to
      Parameters:
      groupAttributeValue1 - the groupAttributeValue to set
    • getAscending

      public String getAscending()
      true or null for ascending, false for descending. If you pass true or false, must pass a sort string
      Returns:
      the ascending
    • getPageNumber

      public String getPageNumber()
      page number 1 indexed if paging
      Returns:
      the pageNumber
    • getPageSize

      public String getPageSize()
      page size if paging
      Returns:
      the pageSize
    • getSortString

      public String getSortString()
      must be an hql query field, e.g. can sort on name, displayName, extension, displayExtension
      Returns:
      the sortString
    • setAscending

      public void setAscending(String ascending1)
      true or null for ascending, false for descending. If you pass true or false, must pass a sort string
      Parameters:
      ascending1 - the ascending to set
    • setPageNumber

      public void setPageNumber(String pageNumber1)
      page number 1 indexed if paging
      Parameters:
      pageNumber1 - the pageNumber to set
    • setPageSize

      public void setPageSize(String pageSize1)
      page size if paging
      Parameters:
      pageSize1 - the pageSize to set
    • setSortString

      public void setSortString(String sortString1)
      must be an hql query field, e.g. can sort on name, displayName, extension, displayExtension
      Parameters:
      sortString1 - the sortString to set