public class UserIsNotShadowedPredicate extends Object implements java.util.function.Function<QUser,com.querydsl.core.types.dsl.BooleanExpression>
BooleanExpression instances that can be used to filter
a QueryDSL query based on user shadowing rules and a collection of directory ids.| Constructor and Description |
|---|
UserIsNotShadowedPredicate(Collection<Long> higherPriorityDirectoryIds) |
| Modifier and Type | Method and Description |
|---|---|
com.querydsl.core.types.dsl.BooleanExpression |
apply(QUser u)
Build a predicate that will only include users if this directory is their canonical directory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identitypublic UserIsNotShadowedPredicate(@Nonnull Collection<Long> higherPriorityDirectoryIds)
@Nullable public com.querydsl.core.types.dsl.BooleanExpression apply(QUser u)
This method can return null if a predicate is not necessary. QueryDSL will gracefully ignore the null predicate.
apply in interface java.util.function.Function<QUser,com.querydsl.core.types.dsl.BooleanExpression>u - the user tableCopyright © 2002-2021 Atlassian. All Rights Reserved.