public class PropertiesModelMetadataProvider extends Object implements ModelMetadataProvider
Constructor and Description |
---|
PropertiesModelMetadataProvider(ContentPropertyService contentPropertyService,
NavigationService navigationService) |
Modifier and Type | Method and Description |
---|---|
Map<Object,Map<String,?>> |
getMetadataForAll(Iterable<Object> entities,
Expansions expansions)
Fetches metadata for a list of entities, returning a map of maps of metadata.
|
List<String> |
getMetadataProperties()
get the list of properties that the MetadataProvider provides metadata for
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadata
public PropertiesModelMetadataProvider(ContentPropertyService contentPropertyService, NavigationService navigationService)
public Map<Object,Map<String,?>> getMetadataForAll(Iterable<Object> entities, Expansions expansions)
ModelMetadataProvider
getMetadataForAll
in interface ModelMetadataProvider
entities
- - a list of entities to fetch the metadata forexpansions
- - indicating which metadata (and at which depth) should be fetched for each entitypublic List<String> getMetadataProperties()
ModelMetadataProvider
getMetadataProperties
in interface ModelMetadataProvider
Copyright © 2003–2018 Atlassian. All rights reserved.