public class ContentLikesMetadataProvider extends Object implements ModelMetadataProvider
Constructor and Description |
---|
ContentLikesMetadataProvider(LikeManager likeManager) |
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 ContentLikesMetadataProvider(LikeManager likeManager)
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–2021 Atlassian. All rights reserved.