2018-08-08 16:29:07 +10:00
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The saved state of a content item
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum ContentSavedState
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The item isn't created yet
|
|
|
|
|
|
/// </summary>
|
2018-09-14 10:08:09 +10:00
|
|
|
|
NotCreated = 1,
|
2018-08-08 16:29:07 +10:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The item is saved but isn't published
|
|
|
|
|
|
/// </summary>
|
2018-09-14 10:08:09 +10:00
|
|
|
|
Draft = 2,
|
2018-08-08 16:29:07 +10:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The item is published and there are no pending changes
|
|
|
|
|
|
/// </summary>
|
2018-09-14 10:08:09 +10:00
|
|
|
|
Published = 3,
|
2018-08-08 16:29:07 +10:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The item is published and there are pending changes
|
|
|
|
|
|
/// </summary>
|
2018-09-14 10:08:09 +10:00
|
|
|
|
PublishedPendingChanges = 4
|
2018-08-08 16:29:07 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|