using System; using System.Xml; namespace umbraco.interfaces { /// /// Internal interface used to decorate any IData that can be optimized when exporting /// XML like in the packaging service. Instead of relying on the IData to go get the value /// from the db, any IData that implements this can have it's value set from the packaging service. /// internal interface IDataValueSetter { void SetValue(object val, string strDbType); } /// /// The IData is part of the IDataType interface for creating new data types in the umbraco backoffice. /// The IData represents the actual value entered by the user. /// [Obsolete("IData is obsolete and is no longer used, it will be removed from the codebase in future versions")] public interface IData { /// /// Gets or sets the property id. /// /// The property id. int PropertyId{set;} /// /// Converts the data to XML. /// /// The data. /// The data as XML. XmlNode ToXMl(XmlDocument data); /// /// Gets or sets the value. /// /// The value. object Value {get;set;} /// /// Creates a new value /// /// The property id. void MakeNew(int PropertyId); /// /// Deletes this instance. /// void Delete(); } }