|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.search.builder.Restriction
public class Restriction
Example usage:
Restriction.on("color").exactlyMatching("black");
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.
Nested Class Summary | |
---|---|
static class |
Restriction.RestrictionWithProperty<T>
|
Constructor Summary | |
---|---|
Restriction()
|
Method Summary | ||
---|---|---|
static
|
on(Property<T> propertyName)
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Restriction()
Method Detail |
---|
public static <T> Restriction.RestrictionWithProperty<T> on(Property<T> propertyName)
Restriction.on(UserTermKeys.USERNAME).startsWith("rob");
T
- propertyName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |