using System.Security.Principal;
using WebDAVSharp.Server.MethodHandlers;
using WebDAVSharp.Server.Stores.Locks.Interfaces;
namespace WebDAVSharp.Server.Stores
{
///
/// This interface must be implemented by classes that serve as stores of collections and
/// documents for the
/// .
///
public interface IWebDavStore
{
///
/// Gets the root collection of this .
///
///
/// The root.
///
IWebDavStoreCollection Root { get; }
///
///
IWebDavStoreItemLock LockSystem { get; set; }
// ///
// ///
// WebDavServer.ClearCaches FClearCaches { get; set; }
///
///
void UserAuthenticated(IIdentity ident);
///
///
///
///
///
///
void AddCacheObject(WebDavMethodHandlerBase handler, string user, string path, object value);
///
///
///
///
///
///
object GetCacheObject(WebDavMethodHandlerBase handler, string user, string path);
///
///
///
void RemoveCacheObject(string key);
}
}