Modifier and Type | Method and Description |
---|---|
SearchRestriction |
CqlQueryParserImpl.parseQuery(String restriction,
PropertyTypeService propertyTypeService) |
SearchRestriction |
CqlQueryParser.parseQuery(String restriction,
PropertyTypeService propertyTypeService)
Parses a query string and returns a
SearchRestriction . |
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
CqlEval.getRestriction() |
SearchRestriction |
CqlEval.propertyExpression() |
SearchRestriction |
CqlEval.restriction() |
Modifier and Type | Method and Description |
---|---|
static boolean |
TokenDAOSearchUtils.tokenMatchesSearchRestriction(Token token,
SearchRestriction searchRestriction) |
Modifier and Type | Method and Description |
---|---|
ODataFilter |
MicrosoftGraphQueryTranslator.translateSearchRestriction(EntityDescriptor entityDescriptor,
SearchRestriction restriction)
Converts a search restriction to an ODataFilter, which can be used in a graph query
|
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
Query.getSearchRestriction()
Restrictions to apply to the query.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
RestCrowdClient.searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<Group> |
RestCrowdClient.searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<GroupWithAttributes> |
RestCrowdClient.searchGroupsWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<User> |
RestCrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<UserWithAttributes> |
RestCrowdClient.searchUsersWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
static SearchRestriction |
SearchRestrictionEntityTranslator.toSearchRestriction(SearchRestrictionEntity searchRestrictionEntity)
Converts from a SearchRestrictionEntity to a SearchRestriction.
|
Modifier and Type | Method and Description |
---|---|
static SearchRestrictionEntity |
SearchRestrictionEntityTranslator.toSearchRestrictionEntity(SearchRestriction searchRestriction)
Converts from a SearchRestriction a SearchRestrictionEntity.
|
Modifier and Type | Method and Description |
---|---|
static SearchRestriction |
SearchRestrictionEntityTranslator.toSearchRestriction(SearchRestrictionEntity searchRestrictionEntity)
Converts from a SearchRestrictionEntity to a SearchRestriction.
|
Modifier and Type | Method and Description |
---|---|
static SearchRestrictionEntity |
SearchRestrictionEntityTranslator.toSearchRestrictionEntity(SearchRestriction searchRestriction)
Converts from a SearchRestriction a SearchRestrictionEntity.
|
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
SearchRestrictionVisitor.visit(SearchRestriction restriction) |
protected abstract SearchRestriction |
SearchRestrictionVisitor.visitPropertyRestriction(PropertyRestriction restriction) |
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
SearchRestrictionVisitor.visit(SearchRestriction restriction) |
Modifier and Type | Field and Description |
---|---|
static SearchRestriction |
QueryBuilder.NULL_RESTRICTION |
Modifier and Type | Method and Description |
---|---|
static SearchRestriction |
Combine.allOfIfNeeded(Collection<? extends SearchRestriction> restrictions) |
static SearchRestriction |
Combine.anyOfIfNeeded(Collection<? extends SearchRestriction> restrictions) |
SearchRestriction |
Restriction.RestrictionWithProperty.exactlyMatchingAny(Collection<T> values)
Returns a property restriction that is only satisfied if the value of the property exactly matches any of
the given values
|
static <T> SearchRestriction |
Restrictions.optional(Function<T,SearchRestriction> provider,
T value)
|
static SearchRestriction |
Combine.optionalAllOf(SearchRestriction... optionalRestrictions)
Returns a combined restriction where all of the non-empty search restrictions have to be satisfied.
|
Modifier and Type | Method and Description |
---|---|
static BooleanRestriction |
Combine.allOf(SearchRestriction... restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static BooleanRestriction |
Combine.anyOf(SearchRestriction... restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
static <T> MembershipQuery<T> |
QueryBuilder.createMembershipQuery(int maxResults,
int startIndex,
boolean findMembers,
EntityDescriptor entityToReturn,
Class<T> returnType,
EntityDescriptor entityToMatch,
SearchRestriction searchRestriction,
String... namesToMatch) |
static SearchRestriction |
Combine.optionalAllOf(SearchRestriction... optionalRestrictions)
Returns a combined restriction where all of the non-empty search restrictions have to be satisfied.
|
static <T> EntityQuery<T> |
QueryBuilder.queryFor(Class<T> returnType,
EntityDescriptor entity,
SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
QueryBuilder.PartialEntityQueryWithRestriction<T> |
QueryBuilder.PartialEntityQuery.with(SearchRestriction restriction)
Example: Restriction.on(UserTermKeys.FIRST_NAME).exactlyMatching("bob"))
|
Modifier and Type | Method and Description |
---|---|
static BooleanRestriction |
Combine.allOf(Collection<? extends SearchRestriction> restrictions)
Returns an AND boolean search restriction where all of the search restrictions have to be satisfied.
|
static SearchRestriction |
Combine.allOfIfNeeded(Collection<? extends SearchRestriction> restrictions) |
static BooleanRestriction |
Combine.anyOf(Collection<? extends SearchRestriction> restrictions)
Returns an OR boolean search restriction where only one or more of the search restrictions have to be
satisfied.
|
static SearchRestriction |
Combine.anyOfIfNeeded(Collection<? extends SearchRestriction> restrictions) |
static <T> SearchRestriction |
Restrictions.optional(Function<T,SearchRestriction> provider,
T value)
|
Constructor and Description |
---|
PartialEntityQueryWithRestriction(Class<T> returnType,
EntityDescriptor entity,
SearchRestriction restriction) |
PartialEntityQueryWithStartIndex(Class<T> returnType,
EntityDescriptor entity,
SearchRestriction restriction,
int startIndex) |
PartialMembershipQueryWithEntityToMatch(Class<T> returnType,
EntityDescriptor entityToReturn,
EntityDescriptor entityToMatch,
boolean findMembers,
SearchRestriction searchRestriction) |
PartialMembershipQueryWithNameToMatch(Class<T> returnType,
EntityDescriptor entityToReturn,
EntityDescriptor entityToMatch,
boolean findMembers,
SearchRestriction searchRestriction,
String... namesToMatch) |
PartialMembershipQueryWithStartIndex(Class<T> returnType,
EntityDescriptor entityToReturn,
EntityDescriptor entityToMatch,
boolean findMembers,
int startIndex,
SearchRestriction searchRestriction,
String... namesToMatch) |
Modifier and Type | Method and Description |
---|---|
protected void |
HQLQueryTranslater.appendPropertyRestrictionAsHQL(HQLQuery hql,
Entity entityType,
SearchRestriction restriction,
String attributeSharedAlias) |
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
EntityQuery.getSearchRestriction() |
Modifier and Type | Method and Description |
---|---|
EntityQuery<T> |
EntityQuery.withSearchRestriction(SearchRestriction searchRestriction) |
Constructor and Description |
---|
AliasQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
ApplicationQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
AuthenticatedTokenQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
DirectoryQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
EntityQuery(Class<T> returnType,
EntityDescriptor entityDescriptor,
SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
GroupQuery(Class<T> returnType,
GroupType groupType,
SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
TokenQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Deprecated.
|
UserQuery(Class<T> returnType,
SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
Modifier and Type | Interface and Description |
---|---|
interface |
BooleanRestriction
A boolean search restriction.
|
interface |
NullRestriction
Signifies that there are no restrictions.
|
interface |
PropertyRestriction<T>
Restriction on a search based on a property of type T.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanRestrictionImpl |
class |
NullRestrictionImpl
Implements a a NullRestriction interface.
|
class |
TermRestriction<T> |
Modifier and Type | Method and Description |
---|---|
Collection<SearchRestriction> |
BooleanRestrictionImpl.getRestrictions() |
Collection<SearchRestriction> |
BooleanRestriction.getRestrictions()
Returns a collection of restrictions.
|
Constructor and Description |
---|
BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic,
SearchRestriction... restrictions) |
Constructor and Description |
---|
BooleanRestrictionImpl(BooleanRestriction.BooleanLogic booleanLogic,
Collection<? extends SearchRestriction> restrictions) |
Modifier and Type | Method and Description |
---|---|
SearchRestriction |
MembershipQuery.getSearchRestriction() |
Constructor and Description |
---|
GroupMembershipQuery(Class<T> returnType,
boolean findMembers,
EntityDescriptor entityToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction,
String... entityNamesToMatch) |
GroupMembersOfGroupQuery(Class<T> returnType,
boolean findMembers,
EntityDescriptor entityToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction,
String... entityNamesToMatch) |
MembershipQuery(Class<T> returnType,
boolean findChildren,
EntityDescriptor entityToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction,
String... entityNamesToMatch) |
MembershipQuery(Class<T> returnType,
boolean findChildren,
EntityDescriptor entityToMatch,
String entityNameToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction) |
UserMembershipQuery(Class<T> returnType,
boolean findMembers,
EntityDescriptor entityToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction,
String... entityNamesToMatch) |
UserMembersOfGroupQuery(Class<T> returnType,
boolean findMembers,
EntityDescriptor entityToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction,
String... entityNamesToMatch) |
Modifier and Type | Method and Description |
---|---|
List<String> |
CrowdClient.searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for group names matching the searchRestriction criteria.
|
List<Group> |
CrowdClient.searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for groups matching the following criteria.
|
List<GroupWithAttributes> |
CrowdClient.searchGroupsWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for groups (with their attributes) matching the following criteria.
|
List<String> |
CrowdClient.searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for usernames matching the searchRestriction criteria.
|
List<User> |
CrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users matching the following criteria.
|
List<UserWithAttributes> |
CrowdClient.searchUsersWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users (with their attributes) matching the following criteria.
|
Copyright © 2020 Atlassian. All rights reserved.