Adding GetContentQueries to IProjectionManager

This commit is contained in:
Benedek Farkas
2025-12-19 19:02:02 +01:00
parent 8f34e8d80a
commit 5f85a4f684

View File

@@ -5,6 +5,7 @@ using Orchard.Projections.Descriptors.Filter;
using Orchard.Projections.Descriptors.Layout;
using Orchard.Projections.Descriptors.Property;
using Orchard.Projections.Descriptors.SortCriterion;
using Orchard.Projections.Models;
namespace Orchard.Projections.Services
{
@@ -23,7 +24,12 @@ namespace Orchard.Projections.Services
IEnumerable<ContentItem> GetContentItems(int queryId, int skip = 0, int count = 0);
IEnumerable<ContentItem> GetContentItems(int queryId, ContentPart part, int skip = 0, int count = 0);
IEnumerable<IHqlQuery> GetContentQueries(
QueryPartRecord queryRecord,
IEnumerable<SortCriterionRecord> sortCriteria,
Dictionary<string, object> tokens);
int GetCount(int queryId);
int GetCount(int queryId, ContentPart part);
}
}
}