com.atlassian.jira.jql.query
Class ChangedClauseQueryFactory

java.lang.Object
  extended by com.atlassian.jira.jql.query.ChangedClauseQueryFactory

public class ChangedClauseQueryFactory
extends Object

Factory class for validating and building the Lucene Changed query.

Since:
v5.0

Constructor Summary
ChangedClauseQueryFactory(SearchProviderFactory searchProviderFactory, HistoryPredicateQueryFactory changedPredicateQueryFactory, ChangeHistoryFieldConstants changeHistoryFieldConstants)
           
 
Method Summary
 QueryFactoryResult create(com.atlassian.crowd.embedded.api.User searcher, ChangedClause clause)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangedClauseQueryFactory

public ChangedClauseQueryFactory(SearchProviderFactory searchProviderFactory,
                                 HistoryPredicateQueryFactory changedPredicateQueryFactory,
                                 ChangeHistoryFieldConstants changeHistoryFieldConstants)
Parameters:
searchProviderFactory - factory for retrieving the history search provider
changedPredicateQueryFactory - returns queries for the predicates
Method Detail

create

public QueryFactoryResult create(com.atlassian.crowd.embedded.api.User searcher,
                                 ChangedClause clause)
Parameters:
searcher - the User representing the current searcher
clause - the search cluase , for instance "Status was Open"
Returns:
QueryFactoryResult that wraps the Lucene Query


Copyright © 2002-2012 Atlassian. All Rights Reserved.