public class AuditQuery extends EntityQuery<AuditLogChangeset>
ALL_RESULTS, MAX_MAX_RESULTS| Constructor and Description |
|---|
AuditQuery(EntityQuery query) |
AuditQuery(EntityQuery<AuditLogChangeset> query,
int startIndex,
int maxResults) |
AuditQuery(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOrderBy() |
Class<AuditLogChangeset> |
getReturnType()
The type of elements to return.
|
boolean |
isDescending() |
void |
setDescending(boolean descending)
Sets the ordering type in the query - descending or ascending
|
void |
setOrderBy(String orderBy)
Sets the property by which the results should be ordered
|
equals, getEntityDescriptor, getMaxResults, getSearchRestriction, getStartIndex, hashCode, toStringpublic AuditQuery(SearchRestriction searchRestriction, int startIndex, int maxResults)
public AuditQuery(EntityQuery query)
public AuditQuery(EntityQuery<AuditLogChangeset> query, int startIndex, int maxResults)
public Class<AuditLogChangeset> getReturnType()
QuerygetReturnType in interface Query<AuditLogChangeset>getReturnType in class EntityQuery<AuditLogChangeset>public String getOrderBy()
public void setOrderBy(String orderBy)
orderBy - the name of the property that should be used for ordering. Should match the properties from
AuditLogTermKeyspublic boolean isDescending()
public void setDescending(boolean descending)
descending - determines if the order should be descending or notCopyright © 2018 Atlassian. All rights reserved.