forked from siteserver/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIContentRepository.Get.cs
More file actions
45 lines (33 loc) · 1.78 KB
/
IContentRepository.Get.cs
File metadata and controls
45 lines (33 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Datory;
using SqlKata;
using SSCMS.Enums;
using SSCMS.Models;
using SSCMS.Services;
namespace SSCMS.Repositories
{
public partial interface IContentRepository
{
Task<int> GetMaxTaxisAsync(Site site, Channel channel, bool isTop);
Task<int> GetFirstContentIdAsync(string tableName, int channelId);
List<(int AdminId, int AddCount, int UpdateCount)> GetDataSetOfAdminExcludeRecycle(string tableName,
int siteId, DateTime begin, DateTime end);
Task<int> GetCountOfContentUpdateAsync(string tableName, int siteId, int channelId, ScopeType scope,
DateTime begin, DateTime end, int adminId);
Task<List<int>> GetContentIdsBySameTitleAsync(Site site, Channel channel, string title);
Task<int> GetCountOfContentAddAsync(string tableName, int siteId, int channelId, ScopeType scope,
DateTime begin, DateTime end, int adminId, bool? checkedState);
Task<List<ContentSummary>> GetSummariesAsync(string tableName, Query query);
Task<int> GetCountAsync(string tableName, Query query);
Task<string> GetWhereStringByStlSearchAsync(IDatabaseManager databaseManager, bool isAllSites, string siteName, string siteDir, string siteIds,
string channelIndex, string channelName, string channelIds, string type, string word, string dateAttribute,
string dateFrom, string dateTo, string since, int siteId, List<string> excludeAttributes,
NameValueCollection form);
Task<string> GetNewContentTableNameAsync();
Task<string> CreateNewContentTableAsync();
Task CreateContentTableAsync(string tableName, List<TableColumn> columns);
}
}