using System;
using System.Xml;
using WebDAVSharp.Server.Stores.Locks.Enums;
namespace WebDAVSharp.Server.Stores.Locks.Interfaces
{
///
///
public interface IWebDavStoreItemLockInstance
{
///
/// The Path locked
///
string Path { get; }
///
///
IWebDavStoreItemLock LockSystem { get; set; }
///
/// Lock Scope
///
WebDavLockScope LockScope { get; }
///
///
double? RequestedLockTimeout { get; set; }
///
///
DateTime CreateDate { get; set; }
///
/// Lock Type
///
WebDavLockType LockType { get; }
///
/// Owner
///
string Owner { get; }
///
/// Requested Timeout
///
string RequestedTimeout { get; set; }
///
/// Token Issued
///
Guid? Token { get; set; }
///
/// Request Document
///
XmlDocument RequestDocument { get; }
///
/// If null, it's an infinite checkout.
///
DateTime? ExpirationDate { get; set; }
///
///
int Depth { get; }
///
/// Refreshes a lock
///
///
void RefreshLock(double? requestedlocktimeout);
}
}