com.atlassian.jira.issue.search.handlers
Class ComponentSearchHandlerFactory

java.lang.Object
  extended by com.atlassian.jira.issue.search.handlers.ComponentSearchHandlerFactory
All Implemented Interfaces:
SearchHandlerFactory

@InjectableComponent
public final class ComponentSearchHandlerFactory
extends Object

Class to create the SearchHandler for the ComponentsSystemField.

Since:
v4.0

Constructor Summary
ComponentSearchHandlerFactory(ComponentFactory componentFactory, ComponentClauseQueryFactory clauseFactory, ComponentValidator caluseValidator, FieldClausePermissionChecker.Factory clausePermissionFactory, ComponentClauseContextFactory componentClauseContextFactory, PermissionManager permissionManager, ProjectComponentManager projectComponentManager, ProjectManager projectManager, MultiClauseDecoratorContextFactory.Factory multiFactory)
           
 
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

ComponentSearchHandlerFactory

public ComponentSearchHandlerFactory(ComponentFactory componentFactory,
                                     ComponentClauseQueryFactory clauseFactory,
                                     ComponentValidator caluseValidator,
                                     FieldClausePermissionChecker.Factory clausePermissionFactory,
                                     ComponentClauseContextFactory componentClauseContextFactory,
                                     PermissionManager permissionManager,
                                     ProjectComponentManager projectComponentManager,
                                     ProjectManager projectManager,
                                     MultiClauseDecoratorContextFactory.Factory multiFactory)
Method Detail

createHandler

public final SearchHandler createHandler(SearchableField field)
Description copied from interface: SearchHandlerFactory
Create the SearchHandler using for the passed field.

Specified by:
createHandler in interface SearchHandlerFactory
Parameters:
field - the field to create the handler for.
Returns:
a new SearchHandler for the passed field. Should never return null.


Copyright © 2002-2014 Atlassian. All Rights Reserved.