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 {
///
/// Gets the parent that owns this .
///
///
/// The parent collection.
///
IWebDavStoreCollection ParentCollection {
get;
}
///
/// Gets or sets the name of this .
///
///
/// The name.
///
string Name {
get;
}
///
/// 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;
}
///
/// Gets the hidden state of this .
///
///
/// 1 if hidden, 0 if not.
///
int Hidden {
get;
}
}
}