Orchard/src/Orchard.Web/Core/Contents/Services/IContentDefinitionService.cs
Nathan Heskew ab81cda4eb Getting some work towards being able to edit content types in to share the fun.
- includes changing settings from IDictionary<string, string> to SettingsDictionary : IDictionary<string, string> w/ GetModel<T>
- also cleaned up content type creation a little

--HG--
branch : dev
2010-06-22 03:36:04 -07:00

12 lines
542 B
C#

using System.Collections.Generic;
using Orchard.ContentManagement.MetaData.Models;
namespace Orchard.Core.Contents.Services {
public interface IContentDefinitionService : IDependency {
IEnumerable<ContentTypeDefinition> GetTypeDefinitions();
ContentTypeDefinition GetTypeDefinition(string name);
void AddTypeDefinition(ContentTypeDefinition contentTypeDefinition);
void AlterTypeDefinition(ContentTypeDefinition contentTypeDefinition);
void RemoveTypeDefinition(string name);
}
}