Interface IVaultService
This service supplies methods for working with Vaults
Assembly: ImageVault.Common.dll
Syntax
public interface IVaultService : IService
Methods
Delete(Int32)
Deletes an empty vault by its id
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
vaultId |
|
Find(VaultQuery)
Find all vaults matching the query
Declaration
List<Vault> Find(VaultQuery query)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<Vault> |
|
FindStatistics(VaultStatisticsQuery)
Finds all statistics matching the query
Declaration
List<VaultStatistics> FindStatistics(VaultStatisticsQuery query)
Parameters
Returns
GetDeletedVaults(Int32, Int32)
Gets a list of all deleted vaults
Declaration
IList<Vault> GetDeletedVaults(int skip, int take)
Parameters
Type |
Name |
Description |
System.Int32 |
skip |
The number of items to skip
|
System.Int32 |
take |
The number of items to take
|
Returns
Type |
Description |
System.Collections.Generic.IList<Vault> |
|
Save(Vault, VaultServiceSaveOptions)
Creates or updates a vault
Declaration
Vault Save(Vault vault, VaultServiceSaveOptions options)
Parameters
Returns
UndeleteVault(Int32)
Removes the deleted flag from the vault with the supplied id
Declaration
void UndeleteVault(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Extension Methods