public interface OrderByValidator
StatisticAccessorBean.OrderBy
portion
of a Query
.
This will check to see that all the SearchSort
s contain orderable
jql clause names and that there are no duplicates in the total clause.
Modifier and Type | Method and Description |
---|---|
MessageSet |
validate(ApplicationUser searcher,
OrderBy orderBy)
Will add messages if there is a portion of the order by that contains a non-orderable jql clause name or
if there are any duplicates or if the user is trying to order by a field that they can't see.
|
@Nonnull MessageSet validate(ApplicationUser searcher, OrderBy orderBy)
searcher
- the user performing the validation.orderBy
- the OrderBy containing the SearchSorts.Copyright © 2002-2016 Atlassian. All Rights Reserved.