Package com.atlassian.crowd.embedded.api
Interface Query<T>
- All Known Implementing Classes:
AliasQuery
,ApplicationQuery
,AuthenticatedTokenQuery
,DirectoryQuery
,EntityQuery
,GroupMembershipQuery
,GroupMembersOfGroupQuery
,GroupQuery
,MembershipQuery
,TokenQuery
,UserMembershipQuery
,UserMembersOfGroupQuery
,UserQuery
public interface Query<T>
Represents a search query for user management. Typical queries will search for users, groups or user names, group
names.
-
Method Summary
Modifier and TypeMethodDescriptionint
The maximum number of elements to return.The type of elements to return.Restrictions to apply to the query.int
The index of the first element to return.
-
Method Details
-
getStartIndex
int getStartIndex()The index of the first element to return.- Returns:
- a positive index value.
-
getMaxResults
int getMaxResults()The maximum number of elements to return.- Returns:
- a number of elements.
-
getReturnType
The type of elements to return.- Returns:
- the expected type of elements to be returned by the search.
-
getSearchRestriction
SearchRestriction getSearchRestriction()Restrictions to apply to the query. Typically finding users of a given name, etc.- Returns:
- the search restriction to apply to this query.
-