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 Details

    • ContentPropertyIndexSchemaManagerImpl

      @Autowired public ContentPropertyIndexSchemaManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
  • Method Details

    • getIndexSchema

      public com.google.common.collect.Multimap<String,ContentPropertySchemaField> getIndexSchema()
      Description copied from interface: ContentPropertyIndexSchemaManager
      Returns a Multimap 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 interface ContentPropertyIndexSchemaManager
      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