Updated DynamicPublishedContent's methods to just proxy calls to the new extension methods so that all of the logic is contained in one place. Added new GetRootDocuments to the IPublishedContentStore since we need this in order to get the root list of documents for many of these methods. Fixed an issue with the DynamicNode to IPublishedContent converter. Fixed many of the failing unit tests.
14 lines
382 B
C#
14 lines
382 B
C#
using System.Collections.Generic;
|
|
using Umbraco.Core.Models;
|
|
|
|
namespace Umbraco.Web
|
|
{
|
|
/// <summary>
|
|
/// Defines the methods for published documents
|
|
/// </summary>
|
|
public interface IPublishedStore
|
|
{
|
|
IPublishedContent GetDocumentById(UmbracoContext umbracoContext, int nodeId);
|
|
IEnumerable<IPublishedContent> GetRootDocuments(UmbracoContext umbracoContext);
|
|
}
|
|
} |