Class ContentPropertyIndexSchemaManagerImpl
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.schema.ContentPropertyIndexSchemaManagerImpl
- All Implemented Interfaces:
ContentPropertyIndexSchemaManager
@Component
public class ContentPropertyIndexSchemaManagerImpl
extends Object
implements ContentPropertyIndexSchemaManager
Dynamically constructs a content property index schema based on enabled modules
ContentPropertyIndexSchema
.- Since:
- 5.7
-
Constructor Summary
ConstructorsConstructorDescriptionContentPropertyIndexSchemaManagerImpl
(com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<String,
ContentPropertySchemaField> Returns aMultimap
representation of content properties dynamic index schema.
-
Constructor Details
-
ContentPropertyIndexSchemaManagerImpl
@Autowired public ContentPropertyIndexSchemaManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
getIndexSchema
Description copied from interface:ContentPropertyIndexSchemaManager
Returns aMultimap
representation of content properties dynamic index schema. There can be multiple extractions from a single JSON document, therefore each key associates multiple schema fields.- Specified by:
getIndexSchema
in interfaceContentPropertyIndexSchemaManager
- Returns:
- (K:[V...]) structure, where K corresponds to the content property key, and V... to all schema fields which should be created from this content property JSON document
-