'use strict' ; import { Request } from 'express' ; import { CriteriaFilter } from '@Entities/EntityFilters/CriteriaFilter' ; export class GenericFilter extends CriteriaFilter { private _criteria : any ; private _sortCriteria : any ; public constructor ( pFilterCriteria , pSortCriteria ? ) { super ( ) ; this . _criteria = pFilterCriteria ; this . _sortCriteria = pSortCriteria ; } public parametersFromRequest ( pRequest ) { return ; } ; public addResponseFields ( pRequest ) { return ; } ; public criteriaTest ( pThingy ) { return true ; } ; public async criteriaTestAsync ( pThingy ) { return this . criteriaTest ( pThingy ) ; } ; public criteriaParameters ( ) { return this . _criteria ; } ; public sortCriteriaParameters ( ) { return this . _sortCriteria ; } ; } ;