|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.search.handlers.SimpleSearchHandlerFactory
public abstract class SimpleSearchHandlerFactory
Creates a SearchHandler for fields that have a single IssueSearcher
that in turn has a single ClauseHandler. This is the case for all the system fields.
| Constructor Summary | |
|---|---|
SimpleSearchHandlerFactory(ComponentFactory factory,
ClauseInformation information,
Class<? extends IssueSearcher<SearchableField>> searcherClass,
ClauseQueryFactory queryFactory,
ClauseValidator queryValidator,
FieldClausePermissionChecker.Factory clausePermissionFactory,
ClauseContextFactory clauseContextFactory,
ClauseValuesGenerator clauseValuesGenerator)
Creates a new factory. |
|
SimpleSearchHandlerFactory(ComponentFactory factory,
ClauseInformation information,
Class<? extends IssueSearcher<SearchableField>> searcherClass,
ClauseQueryFactory queryFactory,
ClauseValidator queryValidator,
FieldClausePermissionChecker.Factory clausePermissionFactory,
ClauseContextFactory clauseContextFactory,
ClauseValuesGenerator clauseValuesGenerator,
ClauseSanitiser sanitiser)
Creates a new factory. |
|
| Method Summary | |
|---|---|
SearchHandler |
createHandler(SearchableField field)
Create the SearchHandler using for the passed field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSearchHandlerFactory(ComponentFactory factory,
ClauseInformation information,
Class<? extends IssueSearcher<SearchableField>> searcherClass,
ClauseQueryFactory queryFactory,
ClauseValidator queryValidator,
FieldClausePermissionChecker.Factory clausePermissionFactory,
ClauseContextFactory clauseContextFactory,
ClauseValuesGenerator clauseValuesGenerator)
factory - the object that will be used to create the searcher.information - the string information (clause names, index field, field id) associated with this clause handler.searcherClass - the class of the searcher to create.queryFactory - the query factory place in the handler.queryValidator - the validatr to place in the handler.clausePermissionFactory - used create the ClausePermissionHandler. We use this mainly because of a circularclauseContextFactory - the factory to place in the handler.clauseValuesGenerator - generates the possible values for a clause.
public SimpleSearchHandlerFactory(ComponentFactory factory,
ClauseInformation information,
Class<? extends IssueSearcher<SearchableField>> searcherClass,
ClauseQueryFactory queryFactory,
ClauseValidator queryValidator,
FieldClausePermissionChecker.Factory clausePermissionFactory,
ClauseContextFactory clauseContextFactory,
ClauseValuesGenerator clauseValuesGenerator,
ClauseSanitiser sanitiser)
factory - the object that will be used to create the searcher.information - contains the string information (clause names, index field, field id) associated with this clause handler.searcherClass - the class of the searcher to create.queryFactory - the query factory place in the handler.queryValidator - the validatr to place in the handler.clausePermissionFactory - used create the ClausePermissionHandler. We use this mainly because of a circularclauseContextFactory - the factory to place in the handler.sanitiser - the sanitiser to place in the handler. If you want to use NoOpClauseSanitiser, use the other constructor.| Method Detail |
|---|
public final SearchHandler createHandler(SearchableField field)
SearchHandlerFactorySearchHandler using for the passed field.
createHandler in interface SearchHandlerFactoryfield - the field to create the handler for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||