|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.plugins.like.providers.ContentLikesMetadataProvider
public class ContentLikesMetadataProvider
Provides Likes metadata for Content entities supplied via the Confluence API.
| Constructor Summary | |
|---|---|
ContentLikesMetadataProvider(LikeManager likeManager)
|
|
| Method Summary | |
|---|---|
Map<String,?> |
getMetadata(Object entity,
Expansions expansions)
Returns keyed metadata based on the passed entity and the expansions. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentLikesMetadataProvider(LikeManager likeManager)
| Method Detail |
|---|
public Map<String,?> getMetadata(Object entity,
Expansions expansions)
ModelMetadataProvider
getMetadata in interface ModelMetadataProviderentity - a Confluence API object (e.g. Content, Space)expansions - indicating which metadata (and at which depth) to include
public Map<Object,Map<String,?>> getMetadataForAll(Iterable<Object> entities,
Expansions expansions)
ModelMetadataProvider
getMetadataForAll in interface ModelMetadataProviderentities - - a list of entities to fetch the metadata forexpansions - - indicating which metadata (and at which depth) should be fetched for each entity
public List<String> getMetadataProperties()
ModelMetadataProvider
getMetadataProperties in interface ModelMetadataProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||