Package com.atlassian.jira.search.jql
Class HistoryPredicateQueryFactory
java.lang.Object
com.atlassian.jira.search.jql.HistoryPredicateQueryFactory
Factory for creating queries for
HistoryPredicate.- Since:
- 10.4
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, UserResolver userResolver, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) -
Method Summary
Modifier and TypeMethodDescriptionmakeChangedPredicateQuery(ApplicationUser searcher, String field, Query changedQuery, HistoryPredicate historyPredicate) protected QuerymakePredicateQuery(ApplicationUser searcher, String field, HistoryPredicate historyPredicate, BooleanQuery.Builder predicateQuery, boolean isChangedSearch) makeWasPredicateQuery(ApplicationUser searcher, String field, Query wasQuery, HistoryPredicate historyPredicate)
-
Constructor Details
-
HistoryPredicateQueryFactory
public HistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver, JqlDateSupport jqlDateSupport, UserResolver userResolver, ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver) - Parameters:
predicateOperandResolver- resolvesHistoryPredicatevaluesjqlDateSupport- parses SQL datesuserResolver- resolves users to their keyschangeHistoryFieldIdResolver- resolves historic values to their corresponding IDs
-
-
Method Details
-
makeChangedPredicateQuery
public Query makeChangedPredicateQuery(ApplicationUser searcher, String field, Query changedQuery, HistoryPredicate historyPredicate) -
makeWasPredicateQuery
public Query makeWasPredicateQuery(ApplicationUser searcher, String field, Query wasQuery, HistoryPredicate historyPredicate) -
makePredicateQuery
protected Query makePredicateQuery(ApplicationUser searcher, String field, HistoryPredicate historyPredicate, BooleanQuery.Builder predicateQuery, boolean isChangedSearch)
-