com.atlassian.jira.jql.query
Class HistoryPredicateQueryFactory
java.lang.Object
com.atlassian.jira.jql.query.HistoryPredicateQueryFactory
public class HistoryPredicateQueryFactory
- extends Object
- Since:
- v4.4
Method Summary |
void |
makeExclusiveQueryBasedOnDates(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean isChangedSearch)
|
void |
makeInclusiveQueryBasedOnDates(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean isChangedSearch)
|
org.apache.lucene.search.BooleanQuery |
makePredicateQuery(com.atlassian.crowd.embedded.api.User searcher,
String field,
HistoryPredicate historyPredicate,
boolean isChangedSearch)
|
void |
makeTermQueryImpl(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean inclusiveSearch,
boolean isChangedSearch)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HistoryPredicateQueryFactory
@Deprecated
public HistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver,
JqlDateSupport jqlDateSupport,
ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver)
- Deprecated. Use
HistoryPredicateQueryFactory(PredicateOperandResolver, JqlDateSupport, UserResolver, ChangeHistoryFieldIdResolver)
instead. Since v6.0.
HistoryPredicateQueryFactory
public HistoryPredicateQueryFactory(PredicateOperandResolver predicateOperandResolver,
JqlDateSupport jqlDateSupport,
UserResolver userResolver,
ChangeHistoryFieldIdResolver changeHistoryFieldIdResolver)
- Parameters:
predicateOperandResolver
- resolves HistoryPredicate
valuesjqlDateSupport
- parses SQL datesuserResolver
- resolves users to their keyschangeHistoryFieldIdResolver
- resolves historic values to their corresponding IDs
makePredicateQuery
public org.apache.lucene.search.BooleanQuery makePredicateQuery(com.atlassian.crowd.embedded.api.User searcher,
String field,
HistoryPredicate historyPredicate,
boolean isChangedSearch)
makeExclusiveQueryBasedOnDates
public void makeExclusiveQueryBasedOnDates(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean isChangedSearch)
makeInclusiveQueryBasedOnDates
public void makeInclusiveQueryBasedOnDates(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean isChangedSearch)
makeTermQueryImpl
public void makeTermQueryImpl(org.apache.lucene.search.BooleanQuery bq,
String field,
Date fromDate,
Date toDate,
boolean inclusiveSearch,
boolean isChangedSearch)
Copyright © 2002-2014 Atlassian. All Rights Reserved.