Provides storage services for user filter.
Default constructor
public Void UserFilterStore()
Clears a filter for a page and a user.
public Task<Int32> ClearFilterAsync(currentTenantId, pageId, userId)
Quantity of record effectively deleted.
Name | Type | Summary |
---|---|---|
currentTenantId | Int32 | Identification of the current Tenant. |
pageId | String | Page id. |
userId | String | User id. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when pageId is null or empty. -or- When userId is null or empty. |
Loads a stored filter and merge it data into listing.
public Task LoadAndMergeFilterAsync(currentTenantId, pageId, userId, listing)
Name | Type | Summary |
---|---|---|
currentTenantId | Int32 | Identification of the current Tenant. |
pageId | String | Page id. |
userId | String | User id. |
listing | Listing<T> | A Listing into which the filter is merged. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when pageId is null or empty. -or- When userId is null or empty. |
ArgumentNullException | Thrown when listing is null. |
Store filter data.
public Task SaveFilterAsync(currentTenantId, pageId, userId, data)
Name | Type | Summary |
---|---|---|
currentTenantId | Int32 | Identification of the current Tenant. |
pageId | String | Page id. |
userId | String | User id. |
data | Object | Data to be stored. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when pageId is null or empty. -or- When userId is null or empty. |
ArgumentNullException | Thrown when data is null. |
In this document