Class DefaultTravelPDTRowsQueryBuilder
java.lang.Object
de.hybris.platform.travelservices.price.impl.DefaultTravelPDTRowsQueryBuilder
- All Implemented Interfaces:
de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder,TravelPDTRowsQueryBuilder
Implementation class similar to DefaultPDTRowsQueryBuilder. This has all the methods and variables from
DefaultPDTRowsQueryBuilder and also includes travel specific methods.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParams -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendQueryForCountryAndPassengerType(StringBuilder query, Map<String, List<String>> params, Map<String, Object> queryParams) protected voidappendQueryForPriceRow(StringBuilder query, Map<String, String> params) protected voidappendQueryForTaxRow(StringBuilder query, Map<String, List<String>> params, Map<String, Object> queryParams) protected voidappendQueryForTransportFacilityAndPassengerType(StringBuilder query, Map<String, List<String>> params, Map<String, Object> queryParams) de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParamsbuild()de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParamsbuildPriceQueryAndParams(Map<String, String> searchParams) The method builds the query for querying price rows.protected voidbuildQueryAddPricesByProduct(Map<String, String> searchParams, boolean matchByUser, StringBuilder query, com.google.common.collect.ImmutableMap.Builder params, Map<String, Object> userParams) protected voidbuildQueryMatchByProductOrUser(Map<String, String> searchParams, boolean matchByUser, StringBuilder query, com.google.common.collect.ImmutableMap.Builder params, Map<String, Object> productParams, Map<String, Object> userParams, boolean matchByProduct) de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParamsbuildTaxQueryAndParams(Map<String, List<String>> searchParams) The method builds the query for querying price rows.protected Stringprotected StringgetQueryForPassengerType(String passengerType, Map<String, Object> queryParams) protected StringwithProduct(de.hybris.platform.core.PK productPk) withProductGroup(de.hybris.platform.core.PK productGroupPk) withProductId(String productId) withUser(de.hybris.platform.core.PK userPk) withUserGroup(de.hybris.platform.core.PK userGroupPk)
-
Constructor Details
-
DefaultTravelPDTRowsQueryBuilder
- Parameters:
type-
-
-
Method Details
-
withAnyProduct
- Specified by:
withAnyProductin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withProduct
- Specified by:
withProductin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withProductGroup
- Specified by:
withProductGroupin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withProductId
- Specified by:
withProductIdin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withAnyUser
- Specified by:
withAnyUserin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withUser
- Specified by:
withUserin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
withUserGroup
- Specified by:
withUserGroupin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
build
public de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParams build()- Specified by:
buildin interfacede.hybris.platform.europe1.jalo.PDTRowsQueryBuilder
-
buildPriceQueryAndParams
public de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParams buildPriceQueryAndParams(Map<String, String> searchParams) Description copied from interface:TravelPDTRowsQueryBuilderThe method builds the query for querying price rows. The travel specific search criteria is added to the query along with the required parameters.- Specified by:
buildPriceQueryAndParamsin interfaceTravelPDTRowsQueryBuilder- Parameters:
searchParams- the search params- Returns:
- the queryWithParams object
-
buildQueryAddPricesByProduct
-
buildQueryMatchByProductOrUser
-
buildTaxQueryAndParams
public de.hybris.platform.europe1.jalo.PDTRowsQueryBuilder.QueryWithParams buildTaxQueryAndParams(Map<String, List<String>> searchParams) Description copied from interface:TravelPDTRowsQueryBuilderThe method builds the query for querying price rows. The travel specific search criteria is added to the query along with the required parameters.- Specified by:
buildTaxQueryAndParamsin interfaceTravelPDTRowsQueryBuilder- Parameters:
searchParams- the search params- Returns:
- the queryWithParams object
-
appendQueryForPriceRow
-
appendQueryForTaxRow
-
appendQueryForCountryAndPassengerType
-
appendQueryForTransportFacilityAndPassengerType
-
getQueryForTransportFacility
-
getQueryForCountry
-
getQueryForPassengerType
-