public class DefaultContentMetadataFactory extends Object implements ContentMetadataFactory
Constructor and Description |
---|
DefaultContentMetadataFactory(com.atlassian.plugin.PluginAccessor pluginAccessor,
org.springframework.transaction.PlatformTransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
Map<ContentEntityObject,Map<String,Object>> |
buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.
|
public DefaultContentMetadataFactory(com.atlassian.plugin.PluginAccessor pluginAccessor, org.springframework.transaction.PlatformTransactionManager transactionManager)
public Map<ContentEntityObject,Map<String,Object>> buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap, Fauxpansions fauxpansions)
ContentMetadataFactory
buildMetadata
in interface ContentMetadataFactory
contentMap
- A mapping between ContentEntityObject and partially built Content objects.
The Supplierfauxpansions
- Expandability indicator for the top level, as well as any sub-expansionsCopyright © 2003–2018 Atlassian. All rights reserved.