com.atlassian.confluence.plugins.contentproperty.index.schema
Class ContentPropertyIndexSchema

java.lang.Object
  extended by 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
ContentPropertyIndexSchema(com.google.common.collect.Multimap<String,ContentPropertySchemaField> schema)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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).



Copyright © 2003–2015 Atlassian. All rights reserved.