using System; using System.Collections.Generic; using System.Xml; using WebDAVSharp.Server.Stores.Locks.Enums; namespace WebDAVSharp.Server.Stores.Locks.Interfaces { /// /// public interface IWebDavStoreItemLock { /// /// bool AllowInfiniteCheckouts { get; set; } /// /// long MaxCheckOutSeconds { get; set; } /// /// /// /// /// /// /// int RefreshLock(IWebDavStoreItem storeItem, Guid? locktoken, double? requestedlocktimeout, out XmlDocument requestDocument); /// /// /// /// /// /// /// /// /// /// /// int Lock(IWebDavStoreItem storeItem, WebDavLockScope lockscope, WebDavLockType locktype, string lockowner, double? requestedlocktimeout, out Guid? locktoken, XmlDocument requestDocument, int depth); /// /// /// /// /// /// int UnLock(IWebDavStoreItem storeItem, Guid? locktoken, string owner); /// /// /// /// List GetLocks(IWebDavStoreItem storeItem); } }