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<String,Object> |
makeMetadata(ContentEntityObject ceo,
com.google.common.base.Supplier<Content> entitySupplier,
Fauxpansions fauxpansions)
Make common metadata for content
|
public DefaultContentMetadataFactory(com.atlassian.plugin.PluginAccessor pluginAccessor, org.springframework.transaction.PlatformTransactionManager transactionManager)
public Map<String,Object> makeMetadata(ContentEntityObject ceo, com.google.common.base.Supplier<Content> entitySupplier, Fauxpansions fauxpansions)
ContentMetadataFactory
makeMetadata
in interface ContentMetadataFactory
ceo
- Useful for retrieving entity specific data like version comment on AttachmententitySupplier
- Content object for invoking content type supportfauxpansions
- Expandability indicator for the top level, as well as any sub-expansions.Copyright © 2003–2016 Atlassian. All rights reserved.