Completes: U4-3052 Create TagsService

This commit is contained in:
Shannon
2013-10-24 11:49:09 +11:00
parent 055cf5da3a
commit c03b839bb1
14 changed files with 570 additions and 58 deletions

View File

@@ -528,6 +528,21 @@ namespace Umbraco.Core.Models
#region Tag methods
///// <summary>
///// Returns the tags for the given property
///// </summary>
///// <param name="content"></param>
///// <param name="propertyTypeAlias"></param>
///// <param name="tagGroup"></param>
///// <returns></returns>
///// <remarks>
///// The tags returned are only relavent for published content & saved media or members
///// </remarks>
//public static IEnumerable<ITag> GetTags(this IContentBase content, string propertyTypeAlias, string tagGroup = "default")
//{
//}
/// <summary>
/// Sets tags for the property - will add tags to the tags table and set the property value to be the comma delimited value of the tags.
/// </summary>

View File

@@ -0,0 +1,12 @@
namespace Umbraco.Core.Models
{
/// <summary>
/// Enum representing the taggable object types
/// </summary>
public enum TaggableObjectTypes
{
Content,
Media,
Member
}
}