com.atlassian.crowd.search.builder
Class Restriction
java.lang.Object
com.atlassian.crowd.search.builder.Restriction
public class Restriction
- extends Object
Example usage:
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
It is a good idea to add a static import to UserTermKeys
in your class to make things even more convenient.
Method Summary |
static
|
on(Property<T> property)
Returns an intermediate form of a property restriction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Restriction
public Restriction()
on
public static <T> Restriction.RestrictionWithProperty<T> on(Property<T> property)
- Returns an intermediate form of a property restriction.
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
- Parameters:
property
- property to restrict on
- Returns:
- intermediate form of a property restriction
Copyright © 2013 Atlassian. All Rights Reserved.