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-09-20 14:58:15 +10:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the variant name for each culture
|
|
|
|
|
|
/// </summary>
|
2018-05-07 23:22:52 +10:00
|
|
|
|
IReadOnlyDictionary<string, string> CultureNames { get; }
|
|
|
|
|
|
|
2018-09-20 14:58:15 +10:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the published cultures.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
IEnumerable<string> PublishedCultures { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the edited cultures.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
IEnumerable<string> EditedCultures { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets the content variation of the content type.
|
|
|
|
|
|
/// </summary>
|
2018-05-08 12:43:07 +10:00
|
|
|
|
ContentVariation Variations { get; }
|
|
|
|
|
|
|
2018-01-15 11:32:30 +01:00
|
|
|
|
/// <summary>
|
2018-09-20 14:58:15 +10:00
|
|
|
|
/// Gets a value indicating whether the content is published.
|
2018-01-15 11:32:30 +01:00
|
|
|
|
/// </summary>
|
2018-09-20 14:58:15 +10:00
|
|
|
|
bool Published { get; }
|
2018-01-15 11:32:30 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2018-09-20 14:58:15 +10:00
|
|
|
|
/// Gets a value indicating whether the content has been edited.
|
2018-01-15 11:32:30 +01:00
|
|
|
|
/// </summary>
|
2018-09-20 14:58:15 +10:00
|
|
|
|
bool Edited { get; }
|
2018-05-07 23:22:52 +10:00
|
|
|
|
|
2018-01-15 11:32:30 +01:00
|
|
|
|
}
|
2018-05-07 23:22:52 +10:00
|
|
|
|
}
|