Class ContentPropertyIndexSchema

java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.schema.ContentPropertyIndexSchema
All Implemented Interfaces:
FieldMappingsProvider

public class ContentPropertyIndexSchema extends Object implements FieldMappingsProvider
Read-only view of content property index schema.
Since:
5.7
  • Constructor Details

  • Method Details

    • getSchemaFieldsByKey

      public Collection<ContentPropertySchemaField> getSchemaFieldsByKey(String key)
      Returns a collection of schema fields associated with a given content property key.
    • getContentPropertyKeys

      public Set<String> getContentPropertyKeys()
      Returns all content property keys which have an index schema associated with them.
    • asMultimap

      public com.google.common.collect.Multimap<String,ContentPropertySchemaField> asMultimap()
      Returns content property index schema as a map (content property key) => (schema fields).
    • getFieldMappings

      public Collection<FieldMapping> getFieldMappings()
      Specified by:
      getFieldMappings in interface FieldMappingsProvider
      Returns:
      field mappings that will be added onto the search index