using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; namespace Volo.Docs.Documents { public interface IDocumentRepository : IBasicRepository { Task> GetListWithoutDetailsByProjectId(Guid projectId, CancellationToken cancellationToken = default); Task> GetListByProjectId(Guid projectId, CancellationToken cancellationToken = default); Task FindAsync(Guid projectId, string name, string languageCode, string version, bool includeDetails = true, CancellationToken cancellationToken = default); Task DeleteAsync(Guid projectId, string name, string languageCode, string version, bool autoSave = false, CancellationToken cancellationToken = default); Task> GetListAsync( Guid? projectId, string version, string name, CancellationToken cancellationToken = default); Task> GetAllAsync( Guid? projectId, string name, string version, string languageCode, string fileName, string format, DateTime? creationTimeMin, DateTime? creationTimeMax, DateTime? lastUpdatedTimeMin, DateTime? lastUpdatedTimeMax, DateTime? lastSignificantUpdateTimeMin, DateTime? lastSignificantUpdateTimeMax, DateTime? lastCachedTimeMin, DateTime? lastCachedTimeMax, string sorting = null, int maxResultCount = int.MaxValue, int skipCount = 0, CancellationToken cancellationToken = default); Task GetAllCountAsync( Guid? projectId, string name, string version, string languageCode, string fileName, string format, DateTime? creationTimeMin, DateTime? creationTimeMax, DateTime? lastUpdatedTimeMin, DateTime? lastUpdatedTimeMax, DateTime? lastSignificantUpdateTimeMin, DateTime? lastSignificantUpdateTimeMax, DateTime? lastCachedTimeMin, DateTime? lastCachedTimeMax, string sorting = null, int maxResultCount = int.MaxValue, int skipCount = 0, CancellationToken cancellationToken = default); Task GetAsync(Guid id, CancellationToken cancellationToken = default); } }