public class MembershipQuery<T> extends Object implements Query<T>
Constructor and Description |
---|
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)
Deprecated.
Use
MembershipQuery(Class, boolean, EntityDescriptor, String, EntityDescriptor, int, int, SearchRestriction) } instead. Since v2.9. |
MembershipQuery(Class<T> returnType,
boolean findChildren,
EntityDescriptor entityToMatch,
String entityNameToMatch,
EntityDescriptor entityToReturn,
int startIndex,
int maxResults,
SearchRestriction searchRestriction) |
MembershipQuery(MembershipQuery<?> query,
Class<T> returnType) |
MembershipQuery(MembershipQuery<T> query,
int startIndex,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getEntityNamesToMatch() |
String |
getEntityNameToMatch()
Deprecated.
Use
getEntityNamesToMatch() instead. Since v2.9 |
EntityDescriptor |
getEntityToMatch() |
EntityDescriptor |
getEntityToReturn() |
int |
getMaxResults()
The maximum number of elements to return.
|
Class<T> |
getReturnType()
The type of elements to return.
|
SearchRestriction |
getSearchRestriction()
Restrictions to apply to the query.
|
int |
getStartIndex()
The index of the first element to return.
|
int |
hashCode() |
boolean |
isFindChildren() |
String |
toString() |
@Deprecated public MembershipQuery(Class<T> returnType, boolean findChildren, EntityDescriptor entityToMatch, String entityNameToMatch, EntityDescriptor entityToReturn, int startIndex, int maxResults)
MembershipQuery(Class, boolean, EntityDescriptor, String, EntityDescriptor, int, int, SearchRestriction)
} instead. Since v2.9.public MembershipQuery(Class<T> returnType, boolean findChildren, EntityDescriptor entityToMatch, String entityNameToMatch, EntityDescriptor entityToReturn, int startIndex, int maxResults, SearchRestriction searchRestriction)
public MembershipQuery(Class<T> returnType, boolean findChildren, EntityDescriptor entityToMatch, EntityDescriptor entityToReturn, int startIndex, int maxResults, SearchRestriction searchRestriction, String... entityNamesToMatch)
public MembershipQuery(MembershipQuery<T> query, int startIndex, int maxResults)
public MembershipQuery(MembershipQuery<?> query, Class<T> returnType)
public EntityDescriptor getEntityToReturn()
public EntityDescriptor getEntityToMatch()
public boolean isFindChildren()
@Nullable public String getEntityNameToMatch()
getEntityNamesToMatch()
instead. Since v2.9getEntityNamesToMatch()
contains a single value or null
.getEntityNamesToMatch()
contains a single value or null
.IllegalArgumentException
- if getEntityNamesToMatch()
has a size greater than one.public int getStartIndex()
Query
getStartIndex
in interface Query<T>
public int getMaxResults()
Query
getMaxResults
in interface Query<T>
public Class<T> getReturnType()
Query
getReturnType
in interface Query<T>
public SearchRestriction getSearchRestriction()
Query
getSearchRestriction
in interface Query<T>
Copyright © 2018 Atlassian. All rights reserved.