Adding Publish and UnPublish EventArgs

This commit is contained in:
Morten Christensen
2012-12-28 14:15:12 -01:00
parent 3ae5aa7195
commit 194d241b02
5 changed files with 150 additions and 2 deletions

View File

@@ -0,0 +1,40 @@
namespace Umbraco.Core.Models.EntityBase
{
internal interface IUmbracoEntity : IEntity
{
/// <summary>
/// Gets or sets the Id of the Parent entity
/// </summary>
int ParentId { get; set; }
/// <summary>
/// Gets or sets the sort order of the Entity
/// </summary>
int SortOrder { get; set; }
/// <summary>
/// Gets or sets the level of the Entity
/// </summary>
int Level { get; set; }
/// <summary>
/// Gets or sets the path to the Entity
/// </summary>
string Path { get; set; }
/// <summary>
/// Profile of the user who created this Entity
/// </summary>
int CreatorId { get; set; }
/// <summary>
/// Boolean indicating whether this Entity is Trashed or not.
/// If an Entity is Trashed it will be located in the Recyclebin.
/// </summary>
/// <remarks>
/// When content is trashed it should be unpublished.
/// Not all entities support being trashed, they'll always return false.
/// </remarks>
bool Trashed { get; }
}
}