Package de.dlr.proseo.model.service
Klasse ProductQueryService
java.lang.Object
de.dlr.proseo.model.service.ProductQueryService
Service class to execute a product query on the prosEO database
- Autor:
- Dr. Thomas Bassler
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
executeQuery
(ProductQuery productQuery, boolean checkOnly) Execute the query of the given product query and check additional conditions (e. g. selection time interval coverage).Provides a mapping of Product attributes to SQL column names
-
Felddetails
-
FACILITY_QUERY_SQL
- Siehe auch:
-
FACILITY_QUERY_SQL_SUBSELECT
-
-
Konstruktordetails
-
ProductQueryService
public ProductQueryService()
-
-
Methodendetails
-
getProductColumnMapping
Provides a mapping of Product attributes to SQL column names- Gibt zurück:
- the attribute mapping
-
executeQuery
public boolean executeQuery(ProductQuery productQuery, boolean checkOnly) throws IllegalArgumentException Execute the query of the given product query and check additional conditions (e. g. selection time interval coverage). If successful, the query and its satisfying products are updated (these updates must be persisted by the calling method).- Parameter:
productQuery
- the product query to executecheckOnly
- indicates whether to store check result and satisfying products for future reference- Gibt zurück:
- true, if the query is satisfied (its list of satisfying products will then be set, unless checkOnly is true), false otherwise
- Löst aus:
IllegalArgumentException
- if the product query is incomplete
-