Files
Umbraco-CMS/src/Umbraco.Web/PublishedCache/IPublishedContentCache.cs
2013-02-05 06:31:13 -01:00

24 lines
682 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Umbraco.Core.Models;
namespace Umbraco.Web.PublishedCache
{
internal interface IPublishedContentCache : IPublishedCache
{
// do we want that one?
IPublishedContent GetByRoute(UmbracoContext umbracoContext, string route, bool? hideTopLevelNode = null);
// do we want that one?
IPublishedContent GetByUrlAlias(UmbracoContext umbracoContext, int rootNodeId, string alias);
// vs. having a GetDocumentByXPath ?!
// do we want to get-by-xpath?
bool HasContent(UmbracoContext umbracoContext);
}
}