Listing

Models the result of a filter operation used for list data on pages.

Namespace:
Inetdev.Data.Filtering
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

Listing

Default constructor

Signature:
public Void Listing()

Properties

Clear

true if the user filter must be clean.

Signature:
public Boolean Clear { get; set; }

HasFilterForm

Whether there is a filter form configured (true if it has Terms).

Signature:
public Boolean HasFilterForm { get; }

HasFilterSet

Whether there are terms that must be applied.

Signature:
public Boolean HasFilterSet { get; }

HasStaticTerms

Whether there are static terms.

Signature:
public Boolean HasStaticTerms { get; }

IsPaged

Whether the listing is paged.

Signature:
public Boolean IsPaged { get; }

MaxFilteredItemsCount

Maximum items to be returned when a filter is applied.

Signature:
public Int32 MaxFilteredItemsCount { get; set; }

MaxItemsCount

Maximum items to be returned.

Signature:
public Int32 MaxItemsCount { get; set; }

Order

Sort order.

Signature:
public Order Order { get; set; }

Page

Number of the page to list or beeing listed.

Signature:
public Int32 Page { get; set; }

PageLength

Maximum items on each page.

Signature:
public Int32 PageLength { get; set; }

SelectedId

Currently selected model ID.

Signature:
public String SelectedId { get; set; }

StaticTerms

List of static terms that must me applied to the data.

Signature:
public List<StaticTerm> StaticTerms { get; set; }

Terms

List of user filter terms.

Signature:
public List<Term> Terms { get; set; }

TermsMatching

How the different terms are matched.

Signature:
public MatchKind TermsMatching { get; set; }

TotalItems

Total number of ítems with the static filter (if any) applied.

Signature:
public Int32 TotalItems { get; set; }

TotalItemsFiltered

Total number of items with user filter (if any) applied.

Signature:
public Int32 TotalItemsFiltered { get; set; }