EntityService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for entities.

public static class EntityService
Inheritance:
System.Object → EntityService

Methods

Delete(IEntity, Boolean) Permanently delete a thrashed entity.
Follow(TFollowable, Nullable, Boolean) Follow the specified entity.
GetLikeCount() Gets the total number of likes in the system.
GetMentions(IEntity) Gets the list of mentions for the given entity.
GetStarCount() Gets the total number of stars in the system.
GetTagCount(Boolean) Gets the total number of tags in the system.
GetTags(IEntity) Gets the list of tags for the given entity.
GetViewCount(IEntity, Boolean) Gets the total number of views for en entity.
Like(TLikeable, Nullable, Boolean) Like the specified entity.
Restore(IEntity, Boolean) Restore a thrashed entity.
Search(EntityQuery) Performs a search according to the specified EntityQuery object.
Search(TrashQuery) Returns a list of trashed entities from the recycle bin matching the supplied query.
Share(IEntity, String) Share the specified entity with people @mentioned in the text.
Star(TStarrable, Nullable, Boolean) Star the specified entity.
Unfollow(TFollowable, Nullable, Boolean) Unfollow the specified entity.
Unlike(TLikeable, Nullable, Boolean) Unlike the specified entity.
Unstar(TStarrable, Nullable, Boolean) Unstar the specified entity.