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 this ModelMetadataProvider provides metadata for.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadata, getProperties
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–2019 Atlassian. All rights reserved.