Class GroupAnyAttributeFilter

java.lang.Object
edu.internet2.middleware.grouper.filter.BaseQueryFilter
edu.internet2.middleware.grouper.filter.GroupAnyAttributeFilter
All Implemented Interfaces:
QueryFilter

public class GroupAnyAttributeFilter extends BaseQueryFilter
Query by all group attributes.

Version:
$Id: GroupAnyAttributeFilter.java,v 1.3 2008-11-04 15:19:56 shilen Exp $
  • Constructor Details

    • GroupAnyAttributeFilter

      public GroupAnyAttributeFilter(String value, Stem ns)
      QueryFilter that returns groups matching the specified attribute specification.

      This performs a substring, lowercased query against all attributes.

      Parameters:
      value - Search for this value.
      ns - Restrict results to within this stem.
    • GroupAnyAttributeFilter

      public GroupAnyAttributeFilter(String value, Stem ns, Boolean enabled)
      QueryFilter that returns groups matching the specified attribute specification.

      This performs a substring, lowercased query against all attributes.

      Parameters:
      value - Search for this value.
      ns - Restrict results to within this stem.
      enabled -
  • Method Details

    • getResults

      public Set getResults(GrouperSession s) throws QueryException
      Description copied from class: BaseQueryFilter
      Get filter results.

      Specified by:
      getResults in interface QueryFilter
      Overrides:
      getResults in class BaseQueryFilter
      Parameters:
      s - Get groups within this session context.
      Returns:
      Objects that match filter constraints.
      Throws:
      QueryException
    • getEnabled

      public Boolean getEnabled()
      Returns:
      true if enabled only, false if disabled only, null if everything
    • setEnabled

      public void setEnabled(Boolean enabled)
      Parameters:
      enabled - true if enabled only, false if disabled only, null if everything