Class ContentPropertyIndexSchema
- java.lang.Object
-
- com.atlassian.confluence.plugins.contentproperty.index.schema.ContentPropertyIndexSchema
-
public class ContentPropertyIndexSchema extends Object
Read-only view of content property index schema.- Since:
- 5.7
-
-
Constructor Summary
Constructors Constructor Description ContentPropertyIndexSchema(com.google.common.collect.Multimap<String,ContentPropertySchemaField> schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.Multimap<String,ContentPropertySchemaField>
asMultimap()
Returns content property index schema as a map (content property key) => (schema fields).Set<String>
getContentPropertyKeys()
Returns all content property keys which have an index schema associated with them.Collection<ContentPropertySchemaField>
getSchemaFieldsByKey(String key)
Returns a collection of schema fields associated with a given content property key.
-
-
-
Constructor Detail
-
ContentPropertyIndexSchema
public ContentPropertyIndexSchema(com.google.common.collect.Multimap<String,ContentPropertySchemaField> schema)
-
-
Method Detail
-
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).
-
-