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, bool) | Permanently delete a thrashed entity. |
Find |
Get the App where the specified entity is located.
|
Find |
Get the Space where the specified entity is located.
|
Follow |
Follow the specified entity. |
Get |
Gets the total number of likes in the system. |
Get |
Gets the list of mentions for the given entity. |
Get |
Gets the total number of stars in the system. |
Get |
Gets the total number of tags in the system. |
Get |
Gets the list of tags for the given entity. |
Like |
Like the specified entity. |
Restore(IEntity, bool) | Restore a thrashed entity. |
Search(Entity |
Performs a search according to the specified EntityQuery object. |
Search(Trash |
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 |
Star the specified entity. |
Unfollow |
Unfollow the specified entity. |
Unlike |
Unlike the specified entity. |
Unstar |
Unstar the specified entity. |
Unvisit(IVisitable, int?) | Removes a visit. |
Visit(IVisitable, int?) | Mark the specified entity as visited. |