projects/m2-core/src/lib/core/service/data/requests/table/filtering/journal/ItemsFilter.ts
Properties |
|
Methods |
|
constructor(elementIds?: number[])
|
||||||
|
Parameters :
|
| Public Readonly filterType |
Default value : ElementFilterType.ItemsFilter
|
| Protected urlPrefix |
Default value : CONSTANTS.ITEMS_FILTER_QUERY_PARAM_PREFIX
|
| Public elementIds |
Type : number[]
|
| Public Optional columnId |
Type : string
|
|
Идентификатор колонки = идентификатор свойства в простейшем случае |
| Public Abstract Readonly isEmpty |
Type : boolean
|
| Static formColumnId |
formColumnId()
|
|
Returns :
string
|
| Static parseFiltersFromQueryParams | ||||||
parseFiltersFromQueryParams(queryParams: Params)
|
||||||
|
Filter to/from URL
Parameters :
Returns :
ItemsFilter[]
|
| Protected Static _parseFiltersFromQueryParams | ||||||||||||
_parseFiltersFromQueryParams(queryParams: Params, paramPrefix: string, filterConstructor: Type
|
||||||||||||
Type parameters :
|
||||||||||||
|
Parameters :
Returns :
F[]
|
| Public getValues |
getValues()
|
|
Returns :
number[]
|
| Public toQueryParams |
toQueryParams(index?: number, encode?: boolean)
|
|
Filter to/from URL
Returns :
Params
|
| format |
format()
|
|
Returns :
void
|
| Protected Static parseFiltersParamsFromQueryParams |
parseFiltersParamsFromQueryParams(queryParams: Params, paramPrefix: string)
|
Type parameters :
|
|
Returns :
NumberMap<F>
|
| Protected urlFilterToQueryParams | |||||||||||||||
urlFilterToQueryParams(urlFilter: any, prefix: string, index: number, encode?: boolean)
|
|||||||||||||||
|
Parameters :
Returns :
Params
|