com.atlassian.jira.index.property
Class OfBizPluginIndexConfigurationManager

java.lang.Object
  extended by com.atlassian.jira.index.property.OfBizPluginIndexConfigurationManager
All Implemented Interfaces:
PluginIndexConfigurationManager

public class OfBizPluginIndexConfigurationManager
extends Object
implements PluginIndexConfigurationManager

Since:
v6.2

Nested Class Summary
static class OfBizPluginIndexConfigurationManager.PluginIndexConfigurationImpl
           
 
Constructor Summary
OfBizPluginIndexConfigurationManager(EntityEngine entityEngine, IndexDocumentConfigurationFactory indexDocumentConfigurationFactory, ReindexMessageManager reindexMessageManager, JsonEntityPropertyManager jsonEntityPropertyManager)
           
 
Method Summary
 Iterable<PluginIndexConfiguration> getDocumentsForEntity(String entityName)
           
 void put(String pluginKey, String moduleKey, IndexDocumentConfiguration document)
          Sets the description of entity's indexing for the given plugin and module's keys.
 void remove(String pluginKey)
          Removes the description of entity's indexing for the given plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfBizPluginIndexConfigurationManager

public OfBizPluginIndexConfigurationManager(EntityEngine entityEngine,
                                            IndexDocumentConfigurationFactory indexDocumentConfigurationFactory,
                                            ReindexMessageManager reindexMessageManager,
                                            JsonEntityPropertyManager jsonEntityPropertyManager)
Method Detail

getDocumentsForEntity

public Iterable<PluginIndexConfiguration> getDocumentsForEntity(String entityName)
Specified by:
getDocumentsForEntity in interface PluginIndexConfigurationManager
Parameters:
entityName - name of entity eg. issue, project etc
Returns:
all EntityPropertyIndexDocument for the given plugin key.

put

public void put(String pluginKey,
                String moduleKey,
                IndexDocumentConfiguration document)
Description copied from interface: PluginIndexConfigurationManager
Sets the description of entity's indexing for the given plugin and module's keys.

Specified by:
put in interface PluginIndexConfigurationManager
Parameters:
pluginKey - the key of the plugin.
moduleKey - the key of the module.
document - the description of entity's indexing.

remove

public void remove(String pluginKey)
Description copied from interface: PluginIndexConfigurationManager
Removes the description of entity's indexing for the given plugin.

Specified by:
remove in interface PluginIndexConfigurationManager
Parameters:
pluginKey - the key of the plugin.


Copyright © 2002-2014 Atlassian. All Rights Reserved.