public interface OrderByValidator
StatisticAccessorBean.OrderByportion of a
This will check to see that all the
SearchSorts contain orderable
jql clause names and that there are no duplicates in the total clause.
|Modifier and Type||Method and Description|
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-2018 Atlassian. All Rights Reserved.