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, waitgetMetadata, getPropertiespublic ContentLikesMetadataProvider(LikeManager likeManager)
public Map<Object,Map<String,?>> getMetadataForAll(Iterable<Object> entities, Expansions expansions)
ModelMetadataProvidergetMetadataForAll in interface ModelMetadataProviderentities - - 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()
ModelMetadataProvidergetMetadataProperties in interface ModelMetadataProviderCopyright © 2003–2019 Atlassian. All rights reserved.