com.pyxis.greenhopper.jira.customfields
Class VersionSearcherWrapper

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
      extended by com.atlassian.jira.issue.customfields.searchers.VersionSearcher
          extended by com.pyxis.greenhopper.jira.customfields.VersionSearcherWrapper
All Implemented Interfaces:
com.atlassian.jira.issue.customfields.CustomFieldSearcher, com.atlassian.jira.issue.customfields.SortableCustomFieldSearcher, com.atlassian.jira.issue.customfields.statistics.CustomFieldStattable, com.atlassian.jira.issue.search.searchers.IssueSearcher<com.atlassian.jira.issue.fields.CustomField>

public class VersionSearcherWrapper
extends com.atlassian.jira.issue.customfields.searchers.VersionSearcher

Extension to make the VersionSearcher usable in plugin space. Problem here is that some Managers that are required in the constructor are not published as "PROVIDED" by JIRA and not accessible. This workaround creates new instances for the objects that can't be injected. TODO yet it's a hack, so the clean way would be to have JIRA expose the respective services in the future and delete this class

Author:
ahennecke

Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.search.searchers.IssueSearcher
log
 
Constructor Summary
VersionSearcherWrapper(com.atlassian.jira.project.version.VersionManager versionManager, com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager, com.atlassian.jira.jql.operand.JqlOperandResolver operandResolver, com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.issue.customfields.searchers.transformer.CustomFieldInputHelper customFieldInputHelper)
           
 
Method Summary
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.VersionSearcher
getCustomFieldSearcherClauseHandler, getSearchInformation, getSearchInputTransformer, getSearchRenderer, getSorter, getStatisticsMapper, init
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.AbstractInitializationCustomFieldSearcher
getDescriptor, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.customfields.CustomFieldSearcher
getDescriptor, init
 

Constructor Detail

VersionSearcherWrapper

public VersionSearcherWrapper(com.atlassian.jira.project.version.VersionManager versionManager,
                              com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager,
                              com.atlassian.jira.jql.operand.JqlOperandResolver operandResolver,
                              com.atlassian.jira.security.PermissionManager permissionManager,
                              com.atlassian.jira.issue.customfields.searchers.transformer.CustomFieldInputHelper customFieldInputHelper)


Copyright © 2007-2011 Atlassian. All Rights Reserved.