Package com.commercetools.api.client
Interface QueryTrait<T extends QueryTrait<T>>
- Type Parameters:
T- type of extending interface
- All Known Implementing Classes:
ByProjectKeyApiClientsGet,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyShoppingListsGet,ByProjectKeyAssociateRolesGet,ByProjectKeyAttributeGroupsGet,ByProjectKeyBusinessUnitsGet,ByProjectKeyCartDiscountsGet,ByProjectKeyCartsGet,ByProjectKeyCategoriesGet,ByProjectKeyChannelsGet,ByProjectKeyCustomerGroupsGet,ByProjectKeyCustomersGet,ByProjectKeyCustomObjectsByContainerGet,ByProjectKeyCustomObjectsGet,ByProjectKeyDiscountCodesGet,ByProjectKeyDiscountGroupsGet,ByProjectKeyExtensionsGet,ByProjectKeyInStoreKeyByStoreKeyBusinessUnitsGet,ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet,ByProjectKeyInStoreKeyByStoreKeyCartsGet,ByProjectKeyInStoreKeyByStoreKeyCustomersGet,ByProjectKeyInStoreKeyByStoreKeyMeCartsGet,ByProjectKeyInStoreKeyByStoreKeyMeGet,ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet,ByProjectKeyInStoreKeyByStoreKeyOrdersGet,ByProjectKeyInStoreKeyByStoreKeyProductSelectionAssignmentsGet,ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet,ByProjectKeyInStoreKeyByStoreKeyQuotesGet,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet,ByProjectKeyInventoryGet,ByProjectKeyMeBusinessUnitsGet,ByProjectKeyMeCartsGet,ByProjectKeyMeGet,ByProjectKeyMeOrdersGet,ByProjectKeyMePaymentsGet,ByProjectKeyMeQuoteRequestsGet,ByProjectKeyMeQuotesGet,ByProjectKeyMeShoppingListsGet,ByProjectKeyMessagesGet,ByProjectKeyOrdersEditsGet,ByProjectKeyOrdersGet,ByProjectKeyPaymentMethodsGet,ByProjectKeyPaymentsGet,ByProjectKeyProductDiscountsGet,ByProjectKeyProductProjectionsGet,ByProjectKeyProductsByIDProductSelectionsGet,ByProjectKeyProductSelectionsGet,ByProjectKeyProductsGet,ByProjectKeyProductsKeyByKeyProductSelectionsGet,ByProjectKeyProductTailoringGet,ByProjectKeyProductTypesGet,ByProjectKeyQuoteRequestsGet,ByProjectKeyQuotesGet,ByProjectKeyRecurrencePoliciesGet,ByProjectKeyRecurringOrdersGet,ByProjectKeyReviewsGet,ByProjectKeyShippingMethodsGet,ByProjectKeyShoppingListsGet,ByProjectKeyStagedQuotesGet,ByProjectKeyStandalonePricesGet,ByProjectKeyStatesGet,ByProjectKeyStoresGet,ByProjectKeySubscriptionsGet,ByProjectKeyTaxCategoriesGet,ByProjectKeyTypesGet,ByProjectKeyZonesGet
public interface QueryTrait<T extends QueryTrait<T>>
QueryTrait
-
Method Summary
Modifier and TypeMethodDescription<TValue> QueryTrait<T>addPredicateVar(String varName, TValue predicateVar) add additional predicateVar query parameter<TValue> QueryTrait<T>addWhere(TValue where) add additional where query parameterdefault QueryTrait<T>default TgetWhere()<TValue> QueryTrait<T>withPredicateVar(String varName, TValue predicateVar) set predicateVar with the specificied value<TValue> QueryTrait<T>withWhere(TValue where) set where with the specificied value
-
Method Details
-
getWhere
-
withWhere
set where with the specificied value- Type Parameters:
TValue- value type- Parameters:
where- value to be set- Returns:
- QueryTrait
-
addWhere
add additional where query parameter- Type Parameters:
TValue- value type- Parameters:
where- value to be added- Returns:
- QueryTrait
-
withPredicateVar
set predicateVar with the specificied value- Type Parameters:
TValue- value type- Parameters:
varName- placeholder namepredicateVar- value to be set- Returns:
- QueryTrait
-
addPredicateVar
add additional predicateVar query parameter- Type Parameters:
TValue- value type- Parameters:
varName- placeholder namepredicateVar- value to be added- Returns:
- QueryTrait
-
asQueryTrait
-
asQueryTraitToBaseType
-