Uses of Interface
com.atlassian.crowd.embedded.api.SearchRestriction
Packages that use SearchRestriction
Package
Description
-
Uses of SearchRestriction in com.atlassian.crowd.cql.parser
Methods in com.atlassian.crowd.cql.parser that return SearchRestrictionModifier and TypeMethodDescriptionCqlQueryParser.parseQuery
(String restriction, PropertyTypeService propertyTypeService) Parses a query string and returns aSearchRestriction
.CqlQueryParserImpl.parseQuery
(String restriction, PropertyTypeService propertyTypeService) -
Uses of SearchRestriction in com.atlassian.crowd.cql.parser.antlr
Methods in com.atlassian.crowd.cql.parser.antlr that return SearchRestrictionModifier and TypeMethodDescriptionfinal SearchRestriction
CqlEval.getRestriction()
final SearchRestriction
CqlEval.propertyExpression()
final SearchRestriction
CqlEval.restriction()
-
Uses of SearchRestriction in com.atlassian.crowd.dao.token
Methods in com.atlassian.crowd.dao.token with parameters of type SearchRestrictionModifier and TypeMethodDescriptionstatic boolean
TokenDAOSearchUtils.tokenMatchesSearchRestriction
(Token token, SearchRestriction searchRestriction) -
Uses of SearchRestriction in com.atlassian.crowd.directory.query
Methods in com.atlassian.crowd.directory.query with parameters of type SearchRestrictionModifier and TypeMethodDescriptionMicrosoftGraphQueryTranslator.translateSearchRestriction
(EntityDescriptor entityDescriptor, SearchRestriction restriction, String usernameAttribute) Converts a search restriction to an ODataFilter, which can be used in a graph query -
Uses of SearchRestriction in com.atlassian.crowd.embedded.api
Methods in com.atlassian.crowd.embedded.api that return SearchRestrictionModifier and TypeMethodDescriptionQuery.getSearchRestriction()
Restrictions to apply to the query. -
Uses of SearchRestriction in com.atlassian.crowd.integration.rest.service
Methods in com.atlassian.crowd.integration.rest.service with parameters of type SearchRestrictionModifier and TypeMethodDescriptionRestCrowdClient.searchGroupNames
(SearchRestriction searchRestriction, int startIndex, int maxResults) RestCrowdClient.searchGroups
(SearchRestriction searchRestriction, int startIndex, int maxResults) RestCrowdClient.searchGroupsWithAttributes
(SearchRestriction searchRestriction, int startIndex, int maxResults) RestCrowdClient.searchUserNames
(SearchRestriction searchRestriction, int startIndex, int maxResults) RestCrowdClient.searchUsers
(SearchRestriction searchRestriction, int startIndex, int maxResults) RestCrowdClient.searchUsersWithAttributes
(SearchRestriction searchRestriction, int startIndex, int maxResults) -
Uses of SearchRestriction in com.atlassian.crowd.integration.rest.util
Methods in com.atlassian.crowd.integration.rest.util that return SearchRestrictionModifier and TypeMethodDescriptionstatic SearchRestriction
SearchRestrictionEntityTranslator.toSearchRestriction
(SearchRestrictionEntity searchRestrictionEntity) Converts from a SearchRestrictionEntity to a SearchRestriction.Methods in com.atlassian.crowd.integration.rest.util with parameters of type SearchRestrictionModifier and TypeMethodDescriptionstatic SearchRestrictionEntity
SearchRestrictionEntityTranslator.toSearchRestrictionEntity
(SearchRestriction searchRestriction) Converts from a SearchRestriction a SearchRestrictionEntity. -
Uses of SearchRestriction in com.atlassian.crowd.plugin.rest.service.controller
Methods in com.atlassian.crowd.plugin.rest.service.controller that return SearchRestrictionModifier and TypeMethodDescriptionSearchController.fromCqlSearchRestriction
(String cqlSearchRestriction) Methods in com.atlassian.crowd.plugin.rest.service.controller with parameters of type SearchRestrictionModifier and TypeMethodDescriptionSearchController.searchGroups
(SearchRestriction searchRestriction, int maxResults, int startIndex, boolean expandGroup, boolean expandAttributes, URI baseUri) Searches for groups satisfying the restriction.SearchController.searchUsers
(SearchRestriction searchRestriction, int maxResults, int startIndex, boolean expandUser, boolean expandAttributes, URI baseUri) Searches for users satisfying the restriction. -
Uses of SearchRestriction in com.atlassian.crowd.plugin.rest.util
Methods in com.atlassian.crowd.plugin.rest.util that return SearchRestrictionModifier and TypeMethodDescriptionstatic SearchRestriction
SearchRestrictionEntityTranslator.toSearchRestriction
(SearchRestrictionEntity searchRestrictionEntity) Converts from a SearchRestrictionEntity to a SearchRestriction.Methods in com.atlassian.crowd.plugin.rest.util with parameters of type SearchRestrictionModifier and TypeMethodDescriptionstatic SearchRestrictionEntity
SearchRestrictionEntityTranslator.toSearchRestrictionEntity
(SearchRestriction searchRestriction) Converts from a SearchRestriction a SearchRestrictionEntity. -
Uses of SearchRestriction in com.atlassian.crowd.search
Methods in com.atlassian.crowd.search that return SearchRestrictionModifier and TypeMethodDescriptionSearchRestrictionVisitor.visit
(SearchRestriction restriction) protected abstract SearchRestriction
SearchRestrictionVisitor.visitPropertyRestriction
(PropertyRestriction restriction) Methods in com.atlassian.crowd.search with parameters of type SearchRestriction -
Uses of SearchRestriction in com.atlassian.crowd.search.builder
Fields in com.atlassian.crowd.search.builder declared as SearchRestrictionMethods in com.atlassian.crowd.search.builder that return SearchRestrictionModifier and TypeMethodDescriptionstatic SearchRestriction
Combine.allOfIfNeeded
(Collection<? extends SearchRestriction> restrictions) static SearchRestriction
Combine.anyOfIfNeeded
(Collection<? extends SearchRestriction> restrictions) 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 valuesstatic <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.Methods in com.atlassian.crowd.search.builder with parameters of type SearchRestrictionModifier and TypeMethodDescriptionstatic BooleanRestriction
Combine.allOf
(SearchRestriction... restrictions) Returns anAND
boolean search restriction where all of the search restrictions have to be satisfied.static BooleanRestriction
Combine.anyOf
(SearchRestriction... restrictions) Returns anOR
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.PartialEntityQuery.with
(SearchRestriction restriction) Example: Restriction.on(UserTermKeys.FIRST_NAME).exactlyMatching("bob"))Method parameters in com.atlassian.crowd.search.builder with type arguments of type SearchRestrictionModifier and TypeMethodDescriptionstatic BooleanRestriction
Combine.allOf
(Collection<? extends SearchRestriction> restrictions) Returns anAND
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 anOR
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) Constructors in com.atlassian.crowd.search.builder with parameters of type SearchRestrictionModifierConstructorDescriptionPartialEntityQueryWithRestriction
(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) -
Uses of SearchRestriction in com.atlassian.crowd.search.hibernate
Methods in com.atlassian.crowd.search.hibernate with parameters of type SearchRestrictionModifier and TypeMethodDescriptionprotected void
HQLQueryTranslater.appendPropertyRestrictionAsHQL
(HQLQuery hql, Entity entityType, SearchRestriction restriction, String attributeSharedAlias) -
Uses of SearchRestriction in com.atlassian.crowd.search.query.entity
Methods in com.atlassian.crowd.search.query.entity that return SearchRestrictionMethods in com.atlassian.crowd.search.query.entity with parameters of type SearchRestrictionModifier and TypeMethodDescriptionEntityQuery.withSearchRestriction
(SearchRestriction searchRestriction) Constructors in com.atlassian.crowd.search.query.entity with parameters of type SearchRestrictionModifierConstructorDescriptionAliasQuery
(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) -
Uses of SearchRestriction in com.atlassian.crowd.search.query.entity.restriction
Subinterfaces of SearchRestriction in com.atlassian.crowd.search.query.entity.restrictionModifier and TypeInterfaceDescriptioninterface
A boolean search restriction.interface
Signifies that there are no restrictions.interface
Restriction on a search based on a property of type T.Classes in com.atlassian.crowd.search.query.entity.restriction that implement SearchRestrictionModifier and TypeClassDescriptionclass
class
Implements a a NullRestriction interface.class
Methods in com.atlassian.crowd.search.query.entity.restriction that return types with arguments of type SearchRestrictionModifier and TypeMethodDescriptionBooleanRestriction.getRestrictions()
Returns a collection of restrictions.final Collection
<SearchRestriction> BooleanRestrictionImpl.getRestrictions()
Constructors in com.atlassian.crowd.search.query.entity.restriction with parameters of type SearchRestrictionModifierConstructorDescriptionBooleanRestrictionImpl
(BooleanRestriction.BooleanLogic booleanLogic, SearchRestriction... restrictions) Constructor parameters in com.atlassian.crowd.search.query.entity.restriction with type arguments of type SearchRestrictionModifierConstructorDescriptionBooleanRestrictionImpl
(BooleanRestriction.BooleanLogic booleanLogic, Collection<? extends SearchRestriction> restrictions) -
Uses of SearchRestriction in com.atlassian.crowd.search.query.membership
Methods in com.atlassian.crowd.search.query.membership that return SearchRestrictionMethods in com.atlassian.crowd.search.query.membership with parameters of type SearchRestrictionModifier and TypeMethodDescriptionMembershipQuery.withSearchRestriction
(SearchRestriction searchRestriction) Constructors in com.atlassian.crowd.search.query.membership with parameters of type SearchRestrictionModifierConstructorDescriptionGroupMembershipQuery
(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, EntityDescriptor entityToReturn, int startIndex, int maxResults, SearchRestriction searchRestriction, Collection<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) -
Uses of SearchRestriction in com.atlassian.crowd.service.client
Methods in com.atlassian.crowd.service.client with parameters of type SearchRestrictionModifier and TypeMethodDescriptionCrowdClient.searchGroupNames
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for group names matching thesearchRestriction
criteria.CrowdClient.searchGroups
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for groups matching the following criteria.CrowdClient.searchGroupsWithAttributes
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for groups (with their attributes) matching the following criteria.CrowdClient.searchUserNames
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for usernames matching thesearchRestriction
criteria.CrowdClient.searchUsers
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for users matching the following criteria.CrowdClient.searchUsersWithAttributes
(SearchRestriction searchRestriction, int startIndex, int maxResults) Searches for users (with their attributes) matching the following criteria.