Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:documentation:architecture:dev:filters [2020/06/04 06:17]
tomiskar [Filters]
devel:documentation:architecture:dev:filters [2020/06/11 20:11] (current)
tomiskar [Filters]
Line 12: Line 12:
   * By registered filter builders - filter key is used.   * By registered filter builders - filter key is used.
   * By filter definition (dto), if filter predicate is defined directly in service. Filter dto can define properties as fields or constants (see ''DataFilter'' generalization). **Make sure all properties are defined in filter dto if services predicate is used** - is required for check filter is supported.   * By filter definition (dto), if filter predicate is defined directly in service. Filter dto can define properties as fields or constants (see ''DataFilter'' generalization). **Make sure all properties are defined in filter dto if services predicate is used** - is required for check filter is supported.
 +
 +Check for filter property is properly implemented can be turned off by [[..:..:..application_configuration:dev:backend#entity_filters|configuration]] (e.g. before filter registration will be fixed).
 </note> </note>
 +
 +<note tip>All supported filters can be found in [[#filter_agenda|agenda]] (menu Setting-> Modules -> Filters).</note>
  
 Filter can be used by [[..:..:security:dev:authorization#base_authorization_evaluators|authoritazation policy evaluator]] for securing data access. Filter can be used by [[..:..:security:dev:authorization#base_authorization_evaluators|authoritazation policy evaluator]] for securing data access.
Line 36: Line 40:
   * ''BaseFilterBuilder'' - provides the base implementation for working with the configuration (see below)   * ''BaseFilterBuilder'' - provides the base implementation for working with the configuration (see below)
   * ''AbstractFilterBuilder'' - provides the base implementation of ''find'' method based on the repository handed in the constructor   * ''AbstractFilterBuilder'' - provides the base implementation of ''find'' method based on the repository handed in the constructor
- 
- 
-<note important>Expand the introduction</note> 
  
 ===== Example filter ===== ===== Example filter =====
  • by tomiskar