Class ModuleListEdit
Inheritance
ModuleListEdit
Assembly: DataWeb.Core.dll
Syntax
public class ModuleListEdit : Module
Constructors
ModuleListEdit(Section, NavigationContext, IServiceProvider)
Declaration
public ModuleListEdit(Section section, NavigationContext navigationContext, IServiceProvider serviceProvider)
Parameters
Methods
CloneItemAsync(ItemParams, CancellationToken)
Declaration
public virtual Task<ModuleListEdit.ItemResult> CloneItemAsync(ModuleListEdit.ItemParams itemParams, CancellationToken cancellationToken = default)
Parameters
Returns
ConvertToListItem(BasicItem, IEnumerable<DataField>)
Declaration
public ModuleListEdit.ListItem ConvertToListItem(BasicItem basicItem, IEnumerable<ModuleListEdit.ListData.DataField> datafields)
Parameters
Returns
DeleteItemsAsync(ItemsParams, CancellationToken)
Declaration
public virtual Task<ModuleListEdit.ItemResult> DeleteItemsAsync(ModuleListEdit.ItemsParams itemParams, CancellationToken cancellationToken = default)
Parameters
Returns
GetActionsAsync(CancellationToken)
Declaration
public override Task<List<ContextAction>> GetActionsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
GetBasicItemsAsync(bool, List<string>, CancellationToken)
Declaration
public virtual Task<ModuleListEdit.BasicItemResult> GetBasicItemsAsync(bool isPagination = false, List<string> itemIds = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetDataAsync(IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<ModuleListEdit.ListData> GetDataAsync(IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
GetDataFieldsAsync(CancellationToken)
Declaration
public virtual Task<IEnumerable<ModuleListEdit.ListData.DataField>> GetDataFieldsAsync(CancellationToken cancellationToken = default)
Parameters
Returns
GetDeferredDataAsync(ItemsParams, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<IEnumerable<ModuleListEdit.ListItem>> GetDeferredDataAsync(ModuleListEdit.ItemsParams itemsParams, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
Declaration
public virtual Task<ModuleListEdit.FormData> GetFormDataAsync(ModuleListEdit.ItemParams itemParams, CancellationToken cancellationToken = default)
Parameters
Returns
GetItemIsWrite(BasicItem)
Declaration
public virtual bool GetItemIsWrite(BasicItem basicItem)
Parameters
Returns
Declaration
public virtual IEnumerable<ModuleListEdit.ListData.ListWidget> GetListWidgets(CancellationToken cancellationToken = default)
Parameters
Returns
GetSearchFiltersAsync(IEnumerable<DataField>, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<List<SearchInfo.SearchFilter>> GetSearchFiltersAsync(IEnumerable<ModuleListEdit.ListData.DataField> dataFields, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
GetSearchSuggestionsAsync(SearchSuggestionFilter, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task<IEnumerable<string>> GetSearchSuggestionsAsync(ModuleListEdit.SearchSuggestionFilter suggestionFilter, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
ProcessActionAsync(ContextAction, IUser, List<string>, List<ProvidedValue>, NavigationContext, CancellationToken)
Declaration
public override Task<ContextAction.Result> ProcessActionAsync(ContextAction action, IUser user, List<string> itemIds = null, List<Form.ProvidedValue> controlValues = null, NavigationContext navigationContext = null, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
ProcessExportAsync(IEnumerable<BasicItem>, CancellationToken)
Declaration
public virtual Task<Stream> ProcessExportAsync(IEnumerable<BasicItem> basicItems, CancellationToken cancellationToken = default)
Parameters
Returns
Declaration
public virtual Task ProcessListWidgetsDeferredValuesAsync(List<ModuleListEdit.ListItem> items, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
Declaration
public virtual void ProcessListWidgetsValues(IEnumerable<ModuleListEdit.ListItem> items, IEnumerable<UserSetting> userSettings)
Parameters
Declaration
public virtual Task ProcessOnSaveDataAsync(BasicItem basicItem, List<Form.ProvidedValue> providedValues, CancellationToken cancellationToken = default)
Parameters
Returns
SaveItemAsync(EditSave, CancellationToken)
Declaration
public virtual Task<ModuleListEdit.ItemResult> SaveItemAsync(ModuleListEdit.EditSave saveData, CancellationToken cancellationToken = default)
Parameters
Returns
SetOrderByAsync(OrderByUpdate, IEnumerable<UserSetting>, CancellationToken)
Declaration
public virtual Task SetOrderByAsync(ModuleListEdit.OrderByUpdate orderByUpdate, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns
SetPageIndexAsync(PageIndexUpdate, CancellationToken)
Declaration
public virtual Task SetPageIndexAsync(ModuleListEdit.PageIndexUpdate pageIndexUpdate, CancellationToken cancellationToken = default)
Parameters
Returns
SetSearchAsync(SearchUpdate, CancellationToken)
Declaration
public virtual Task SetSearchAsync(ModuleListEdit.SearchUpdate searchUpdate, CancellationToken cancellationToken = default)
Parameters
Returns
SetSearchFilterAsync(SearchFilter, object, object, IEnumerable<UserSetting>, CancellationToken)
Declaration
public Task SetSearchFilterAsync(SearchInfo.SearchFilter searchFilter, object firstValue, object secondValue, IEnumerable<UserSetting> userSettings, CancellationToken cancellationToken = default)
Parameters
Returns