Klasse ProductQueryService

java.lang.Object
de.dlr.proseo.model.service.ProductQueryService

@Service public class ProductQueryService extends Object
Service class to execute a product query on the prosEO database
Autor:
Dr. Thomas Bassler
  • Felddetails

    • FACILITY_QUERY_SQL

      public static final String FACILITY_QUERY_SQL
      Siehe auch:
    • FACILITY_QUERY_SQL_SUBSELECT

      public static final String FACILITY_QUERY_SQL_SUBSELECT
  • Konstruktordetails

    • ProductQueryService

      public ProductQueryService()
  • Methodendetails

    • getProductColumnMapping

      public Map<String,String> 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 execute
      checkOnly - 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