Class DefaultContentMetadataFactory
java.lang.Object
com.atlassian.confluence.api.impl.service.content.factory.DefaultContentMetadataFactory
- All Implemented Interfaces:
ContentMetadataFactory
Provides metadata for content objects.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultContentMetadataFactory
(com.atlassian.plugin.PluginAccessor pluginAccessor, org.springframework.transaction.PlatformTransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionbuildMetadataForContentEntityObjects
(Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) Make common metadata for a set of ContentEntityObject objects.
-
Constructor Details
-
DefaultContentMetadataFactory
public DefaultContentMetadataFactory(com.atlassian.plugin.PluginAccessor pluginAccessor, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
-
Method Details
-
buildMetadataForContentEntityObjects
public Map<ContentEntityObject,Map<String, buildMetadataForContentEntityObjectsObject>> (Map<ContentEntityObject, Supplier<Content>> contentMap, Fauxpansions fauxpansions) Description copied from interface:ContentMetadataFactory
Make common metadata for a set of ContentEntityObject objects.- Specified by:
buildMetadataForContentEntityObjects
in interfaceContentMetadataFactory
- Parameters:
contentMap
- A mapping between ContentEntityObject and partially built Content objects. The Supplier<Content> objects should return the same reference on each invocation.fauxpansions
- Expandability indicator for the top level, as well as any sub-expansions- Returns:
- A map between ContentEntityObject objects and their meta-data
-