Orchard/src/Orchard.Web/Core/Contents/Services/IContentDefinitionService.cs

12 lines
542 B
C#
Raw Normal View History

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);
}
}