mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Adding GetContentQueries to IProjectionManager
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user