123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Threading.Tasks;
- using Datory;
- using GxPress.Common.Page;
- using GxPress.Request.App.Note;
- using GxPress.Request.Web;
- using GxPress.Result.App.Note;
- using GxPress.Result.Web;
- namespace GxPress.Repository.Interface.Note
- {
- public interface INoteRepository : IRepository
- {
-
-
-
-
-
- Task<Entity.Note.Note> GetAsync(int id);
-
-
-
-
-
- Task<int> InsertAsync(Entity.Note.Note note);
-
-
-
-
-
- Task<bool> UpdateAsync(Entity.Note.Note note);
-
-
-
-
-
- Task<PagedList<NotePageListRequest>> NotePageListAsync(NoteSearchPageListRequest request);
- Task<bool> DeleteAsync(SqlKata.Query query);
- Task<bool> DeleteAsync(int id);
- Task<bool> UpdateAsync(SqlKata.Query query);
-
-
-
-
-
- Task<PagedList<NoteUserExtractResult>> GetAllByUserId(NoteUserRequest request);
-
-
-
-
-
- Task<PagedList<NoteTopicResult>> GetTopicNoteAsync(NoteSearchPageListRequest request);
-
-
-
-
-
- Task<PagedList<NoteNotFolderPageResult>> GetNoteNotFolderPageResult(NoteSearchPageListRequest request);
-
-
-
-
-
- Task<bool> SetIsTopAsync(int noteId);
-
-
-
-
-
- Task<IEnumerable<int>> GetLatelyFolderIdAsync(int userId, bool isTopic);
-
-
-
-
-
- Task<PagedList<NoteNotFolderPageResult>> NoteTopicDraftPageListAsync(NoteSearchPageListRequest request);
-
-
-
-
-
- Task<bool> IsExistsDraftAsync(int userId, bool isTopic);
-
-
-
-
-
- Task<int> GetNoteIdByDraftAsync(int userId, bool isTopic);
-
-
-
-
-
- Task<int> GetDraftCountAsync(int userId, bool isTopic);
-
-
-
-
-
-
- Task<bool> ClearDraftAsync(int userId, int typeValue);
- Task<IEnumerable<Entity.Note.Note>> GetAllAsync(SqlKata.Query query);
- }
- }
|