com.atlassian.jira.index.property
Class EntityPropertyIndexDocumentManagerImpl
java.lang.Object
com.atlassian.jira.index.property.EntityPropertyIndexDocumentManagerImpl
- All Implemented Interfaces:
- EntityPropertyIndexDocumentManager
public class EntityPropertyIndexDocumentManagerImpl
- extends Object
- implements EntityPropertyIndexDocumentManager
- Since:
- v6.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPropertyIndexDocumentManagerImpl
public EntityPropertyIndexDocumentManagerImpl(EntityEngine entityEngine)
getDocumentsForPlugin
public Iterable<EntityPropertyIndexDocument> getDocumentsForPlugin(String pluginKey)
- Specified by:
getDocumentsForPlugin
in interface EntityPropertyIndexDocumentManager
- Parameters:
pluginKey
- the key of the plugin.
- Returns:
- all
EntityPropertyIndexDocument
for the given plugin key.
getDocumentsForEntity
public Iterable<EntityPropertyIndexDocument> getDocumentsForEntity(String entityName)
- Specified by:
getDocumentsForEntity
in interface EntityPropertyIndexDocumentManager
- 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,
String entityKey,
String document)
- Description copied from interface:
EntityPropertyIndexDocumentManager
- Sets the description of entity's indexing for the given plugin and module's keys.
- Specified by:
put
in interface EntityPropertyIndexDocumentManager
- Parameters:
pluginKey
- the key of the plugin.moduleKey
- the key of the module.entityKey
- the key/name for entity eg. issue, project.document
- the description of entity's indexing.
remove
public void remove(String pluginKey)
- Description copied from interface:
EntityPropertyIndexDocumentManager
- Removes the description of entity's indexing for the given plugin.
- Specified by:
remove
in interface EntityPropertyIndexDocumentManager
- Parameters:
pluginKey
- the key of the plugin.
onPluginUninstalled
public void onPluginUninstalled(com.atlassian.plugin.event.events.PluginUninstalledEvent event)
onPluginRefreshed
public void onPluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event)
onPluginUpgraded
public void onPluginUpgraded(com.atlassian.plugin.event.events.PluginUpgradedEvent event)
Copyright © 2002-2014 Atlassian. All Rights Reserved.