using Nop.Web.Areas.Admin.Models.Common; using Nop.Web.Framework.Models; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents common models factory /// public partial interface ICommonModelFactory { /// /// Prepare system info model /// /// System info model /// /// A task that represents the asynchronous operation /// The task result contains the system info model /// Task PrepareSystemInfoModelAsync(SystemInfoModel model); /// /// Prepare system warning models /// /// /// A task that represents the asynchronous operation /// The task result contains the list of system warning models /// Task> PrepareSystemWarningModelsAsync(); /// /// Prepare maintenance model /// /// Maintenance model /// /// A task that represents the asynchronous operation /// The task result contains the maintenance model /// Task PrepareMaintenanceModelAsync(MaintenanceModel model); /// /// Prepare paged backup file list model /// /// Backup file search model /// /// A task that represents the asynchronous operation /// The task result contains the backup file list model /// Task PrepareBackupFileListModelAsync(BackupFileSearchModel searchModel); /// /// Prepare URL record search model /// /// URL record search model /// /// A task that represents the asynchronous operation /// The task result contains the uRL record search model /// Task PrepareUrlRecordSearchModelAsync(UrlRecordSearchModel searchModel); /// /// Prepare paged URL record list model /// /// URL record search model /// /// A task that represents the asynchronous operation /// The task result contains the uRL record list model /// Task PrepareUrlRecordListModelAsync(UrlRecordSearchModel searchModel); /// /// Prepare language selector model /// /// /// A task that represents the asynchronous operation /// The task result contains the language selector model /// Task PrepareLanguageSelectorModelAsync(); /// /// Prepare popular search term search model /// /// Popular search term search model /// /// A task that represents the asynchronous operation /// The task result contains the popular search term search model /// Task PreparePopularSearchTermSearchModelAsync(PopularSearchTermSearchModel searchModel); /// /// Prepare paged popular search term list model /// /// Popular search term search model /// /// A task that represents the asynchronous operation /// The task result contains the popular search term list model /// Task PreparePopularSearchTermListModelAsync(PopularSearchTermSearchModel searchModel); /// /// Prepare common statistics model /// /// /// A task that represents the asynchronous operation /// The task result contains the common statistics model /// Task PrepareCommonStatisticsModelAsync(); /// /// Prepare plugins warning model /// /// List of system warning models /// A task that represents the asynchronous operation Task PreparePluginsWarningModelAsync(IList models); /// /// Prepare multistore preview models /// /// Model type /// Entity model /// /// A task that represents the asynchronous operation /// The task result contains the list of multistore preview models /// Task> PrepareMultistorePreviewModelsAsync(TModel model) where TModel : BaseNopEntityModel; }