2018-05-07 23:22:52 +10:00
using System.Collections.Generic ;
namespace Umbraco.Core.Models.Entities
2018-01-15 11:32:30 +01:00
{
/// <summary>
/// Represents a lightweight document entity, managed by the entity service.
/// </summary>
public interface IDocumentEntitySlim : IContentEntitySlim
{
2018-05-07 23:22:52 +10:00
//fixme we need to supply more information than this and change this property name. This will need to include Published/Editor per variation since we need this information for the tree
IReadOnlyDictionary < string , string > CultureNames { get ; }
2018-01-15 11:32:30 +01:00
/// <summary>
2018-05-07 23:22:52 +10:00
/// At least one variation is published
2018-01-15 11:32:30 +01:00
/// </summary>
2018-05-07 23:22:52 +10:00
/// <remarks>
/// If the document is invariant, this simply means there is a published version
/// </remarks>
bool Published { get ; set ; }
2018-01-15 11:32:30 +01:00
/// <summary>
2018-05-07 23:22:52 +10:00
/// At least one variation has pending changes
2018-01-15 11:32:30 +01:00
/// </summary>
2018-05-07 23:22:52 +10:00
/// <remarks>
/// If the document is invariant, this simply means there is pending changes
/// </remarks>
bool Edited { get ; set ; }
2018-01-15 11:32:30 +01:00
}
2018-05-07 23:22:52 +10:00
}