Class TermRestriction<T>

java.lang.Object
com.atlassian.crowd.search.query.entity.restriction.TermRestriction<T>
All Implemented Interfaces:
SearchRestriction, PropertyRestriction<T>

public class TermRestriction<T> extends Object implements PropertyRestriction<T>
  • Constructor Details

    • TermRestriction

      public TermRestriction(Property<T> property, MatchMode matchMode, T value)
      Constructs a restriction based on an entity property value and match mode. The property should normally be one of the constants defined on UserTermKeys and GroupTermKeys.
      Parameters:
      property - the property to match
      matchMode - the method of matching (exact match, prefix, etc.)
      value - the value to match
    • TermRestriction

      public TermRestriction(Property<T> property, T value)
  • Method Details