public class LabelsModelMetadataProvider extends Object implements ModelMetadataProvider
Constructor and Description |
---|
LabelsModelMetadataProvider(ContentLabelService contentLabelService,
RestNavigationService 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 LabelsModelMetadataProvider(ContentLabelService contentLabelService, RestNavigationService 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–2017 Atlassian. All rights reserved.