using System;
namespace WebDAVSharp.Server.Stores
{
///
/// This interface must be implemented by classes that will function as a store item,
/// which is either a document (
/// ) or a
/// collection of documents (
/// .)
///
public interface IWebDavStoreItem
{
///
///
Uri Href { get; set; }
///
/// Gets the size of the document in bytes.
///
long Size { get; }
///
/// Gets the mime type of .
///
///
/// The type of the MIME.
///
string MimeType { get; }
///
/// Gets the etag of this .
///
///
/// The etag.
///
string Etag { get; }
///
///
IWebDavStore Store { get; }
///
/// Gets the parent that owns this .
///
///
/// The parent collection.
///
IWebDavStoreCollection ParentCollection { get; }
///
/// Gets or sets the name of this .
///
///
/// The name.
///
string Name { get; set; }
///
/// Gets the ItemPath of this .
///
///
/// The item path.
///
string ItemPath { get; }
///
/// Gets if this is a collection.
///
///
/// true if this instance is collection; otherwise, false.
///
bool IsCollection { get; }
///
/// Gets the creation date of this .
///
///
/// The creation date.
///
DateTime CreationDate { get; }
///
/// Gets the modification date of this .
///
///
/// The modification date.
///
DateTime ModificationDate { get; }
///
/// This is a guid uniquely identifying the store item.
///
///
Guid GetRepl_uId();
///
/// Returns the file info.
///
///
IWebDavFileInfo GetFileInfo();
}
}