com.atlassian.jira.issue.index
Class DefaultIndexedChangeHistoryFieldManager

java.lang.Object
  extended by com.atlassian.jira.issue.index.DefaultIndexedChangeHistoryFieldManager
All Implemented Interfaces:
IndexedChangeHistoryFieldManager

public class DefaultIndexedChangeHistoryFieldManager
extends Object
implements IndexedChangeHistoryFieldManager


Constructor Summary
DefaultIndexedChangeHistoryFieldManager(ChangeHistoryFieldConfigurationManager changeHistoryFieldConfigurationManager)
           
 
Method Summary
 void addIndexedChangeHistoryField(IndexedChangeHistoryField field)
           
 void deleteIndexedChangeHistoryField(IndexedChangeHistoryField field)
           
 Collection<String> getIndexedChangeHistoryFieldNames()
           
 Collection<IndexedChangeHistoryField> getIndexedChangeHistoryFields()
           
 Set<Operator> getSupportedOperators(String fieldName, Set<Operator> operators)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIndexedChangeHistoryFieldManager

public DefaultIndexedChangeHistoryFieldManager(ChangeHistoryFieldConfigurationManager changeHistoryFieldConfigurationManager)
Method Detail

getIndexedChangeHistoryFields

public Collection<IndexedChangeHistoryField> getIndexedChangeHistoryFields()
Specified by:
getIndexedChangeHistoryFields in interface IndexedChangeHistoryFieldManager
Returns:
a collection that contains all of the IndexedChangeHistoryField that will be indexed

addIndexedChangeHistoryField

public void addIndexedChangeHistoryField(IndexedChangeHistoryField field)
Specified by:
addIndexedChangeHistoryField in interface IndexedChangeHistoryFieldManager
Parameters:
field - A IndexedChangeHistoryField that describes a field you want to add to the index

deleteIndexedChangeHistoryField

public void deleteIndexedChangeHistoryField(IndexedChangeHistoryField field)
Specified by:
deleteIndexedChangeHistoryField in interface IndexedChangeHistoryFieldManager
Parameters:
field - A IndexedChangeHistoryField that describes a field you want to delete from being indesed.

getIndexedChangeHistoryFieldNames

public Collection<String> getIndexedChangeHistoryFieldNames()
Specified by:
getIndexedChangeHistoryFieldNames in interface IndexedChangeHistoryFieldManager
Returns:
a collection that contains all of the field names that will be indexed.

getSupportedOperators

public Set<Operator> getSupportedOperators(String fieldName,
                                           Set<Operator> operators)
Specified by:
getSupportedOperators in interface IndexedChangeHistoryFieldManager


Copyright © 2002-2015 Atlassian. All Rights Reserved.