SpaceService Class

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

Service layer for Space objects.

public static class SpaceService
Inheritance:
System.Object → SpaceService

Fields

ConversationsId The id of the Conversations space.
SystemId The id of the System space.

Methods

AddMember(int, int, Access, bool) Add (or update) a member to the specified Space.
Archive(int, bool) Archives a Space.
Delete(int, bool) Permanently deletes a Space.
Get(int, bool, bool) Gets a Space object from the repository.
GetByKey(string, bool, bool) Gets a Space object from the repository.
GetByTeamname(string, bool, bool) Gets a Space object from the repository.
GetMembers(int, MemberQuery) Get the members in the specified Space.
GetVisited(int) Gets recently visited spaces for the current user.
Insert(Space) Inserts a Space object into the repository.
RemoveMember(int, int, bool) Removes a Member from the specified Space.
Restore(int, bool) Restored a Space from the trash.
Search(SpaceQuery) Performs a search according to the specified SpaceQuery object.
Trash(int, bool) Moves a Space to the trash.
Unarchive(int, bool) Restores a Space from the archive.
Update(Space, bool) Updates a Space object in the repository.