Skip to main content

Search

Data elementsData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept. can be searched in two ways, and both are integrated through all layersLayerLogical separation of functionality within a single system/application, focused on code organization. of the applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution., from the database query up to the search inputs on screen:

  • FindersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement.: FindersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. present an easy-to-use search interface for basic search operation in UI screens.
  • Querysearch: Querysearch allows you to construct more complex search queries that involves business logic or data from multiple elements.

Finders​

FindersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. allow you to define simple data queries for a DataElement. FindersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. have a set of FieldOperatorPairs, which combine a reference to a FieldFieldA property of a DataElement expanded to a database column and user interface input element. with a search operator.

Because a finderFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. is fully described in the model, nothing needs to be implemented by hand. This makes findersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement. the natural choice for straightforward searches.

QuerySearch​

A QuerySearch can be defined for a more advanced search operation. Compared to findersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement., the logic of a query search has to be implemented custom. Only the interface and integration through all layersLayerLogical separation of functionality within a single system/application, focused on code organization. is provided. The actual search condition can then be built by using the specified QueryFilterFieldsFieldA property of a DataElement expanded to a database column and user interface input element..

Next to this, the querysearch interface is easier to extend than the one of the findersFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement., which is why it is preferred for custom implementations.

The QuerySearch element is linked to a DataElement. This means that it is possible to create more than one QuerySearch implementation for a single DataElement.

Inputs are modeled as QueryFilterFieldsFieldA property of a DataElement expanded to a database column and user interface input element.. A QueryFilterField is not linked to a fieldFieldA property of a DataElement expanded to a database column and user interface input element. of the data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept., but simply a placeholder for the search logic.

An availability search on Car could take a period as input, even though Car has no such fieldFieldA property of a DataElement expanded to a database column and user interface input element..


Finders or QuerySearch?​

FinderFinderA search specification combining field-operator pairs to execute standard data queries on a DataElement.QuerySearch
Search logicGenerated from the modelImplemented in code
InputsFieldsFieldA property of a DataElement expanded to a database column and user interface input element. of the data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept.Freely modeled QueryFilterFieldsFieldA property of a DataElement expanded to a database column and user interface input element.
Best suited forSimple filters on one data elementData Element (DataElement). A fundamental data concept or entity within an application's domain, acting as an anthropomorphic translation of a real-life object or concept.Business-specific or multi-element searches