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