Package com.commercetools.api.client
Interface SimplePagedQueryResourceRequest<T extends SimplePagedQueryResourceRequest<T,TResult,TQuery>,TResult,TQuery>
- Type Parameters:
T- the type of the underlying requestTResult- the type of the underlying result model, like category or product.
- All Superinterfaces:
ClientRequestCommand<TResult>,RequestCommand<TResult>
- All Known Subinterfaces:
ByProjectKeyApiClientsGetMixin,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGetMixin,ByProjectKeyAssociateRolesGetMixin,ByProjectKeyAttributeGroupsGetMixin,ByProjectKeyBusinessUnitsGetMixin,ByProjectKeyCartDiscountsGetMixin,ByProjectKeyCartsGetMixin,ByProjectKeyCategoriesGetMixin,ByProjectKeyChannelsGetMixin,ByProjectKeyCustomerGroupsGetMixin,ByProjectKeyCustomersGetMixin,ByProjectKeyCustomObjectsByContainerGetMixin,ByProjectKeyCustomObjectsGetMixin,ByProjectKeyDiscountCodesGetMixin,ByProjectKeyExtensionsGetMixin,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGetMixin,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGetMixin,ByProjectKeyInventoryGetMixin,ByProjectKeyMessagesGetMixin,ByProjectKeyOrdersEditsGetMixin,ByProjectKeyOrdersGetMixin,ByProjectKeyPaymentsGetMixin,ByProjectKeyProductDiscountsGetMixin,ByProjectKeyProductProjectionsGetMixin,ByProjectKeyProductSelectionsGetMixin,ByProjectKeyProductsGetMixin,ByProjectKeyProductTypesGetMixin,ByProjectKeyReviewsGetMixin,ByProjectKeyShippingMethodsGetMixin,ByProjectKeyShoppingListsGetMixin,ByProjectKeyStandalonePricesGetMixin,ByProjectKeyStatesGetMixin,ByProjectKeyStoresGetMixin,ByProjectKeySubscriptionsGetMixin,ByProjectKeyTaxCategoriesGetMixin,ByProjectKeyTypesGetMixin,ByProjectKeyZonesGetMixin,PagedQueryResourceRequest<T,TResult, TQuery>
- All Known Implementing Classes:
ByProjectKeyApiClientsGet,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet,ByProjectKeyAssociateRolesGet,ByProjectKeyAttributeGroupsGet,ByProjectKeyBusinessUnitsGet,ByProjectKeyCartDiscountsGet,ByProjectKeyCartsGet,ByProjectKeyCategoriesGet,ByProjectKeyChannelsGet,ByProjectKeyCustomerGroupsGet,ByProjectKeyCustomersGet,ByProjectKeyCustomObjectsByContainerGet,ByProjectKeyCustomObjectsGet,ByProjectKeyDiscountCodesGet,ByProjectKeyExtensionsGet,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet,ByProjectKeyInventoryGet,ByProjectKeyMessagesGet,ByProjectKeyOrdersEditsGet,ByProjectKeyOrdersGet,ByProjectKeyPaymentsGet,ByProjectKeyProductDiscountsGet,ByProjectKeyProductProjectionsGet,ByProjectKeyProductSelectionsGet,ByProjectKeyProductsGet,ByProjectKeyProductTypesGet,ByProjectKeyReviewsGet,ByProjectKeyShippingMethodsGet,ByProjectKeyShoppingListsGet,ByProjectKeyStandalonePricesGet,ByProjectKeyStatesGet,ByProjectKeyStoresGet,ByProjectKeySubscriptionsGet,ByProjectKeyTaxCategoriesGet,ByProjectKeyTypesGet,ByProjectKeyZonesGet
public interface SimplePagedQueryResourceRequest<T extends SimplePagedQueryResourceRequest<T,TResult,TQuery>,TResult,TQuery>
extends RequestCommand<TResult>, ClientRequestCommand<TResult>
Interface with common methods for query endpoints
-
Method Summary
Modifier and TypeMethodDescription<TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addLimit(TValue limit) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addOffset(TValue offset) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addPredicateVar(String varName, Collection<TValue> predicateVar) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addPredicateVar(String varName, TValue predicateVar) default Tdefault Tdefault TaddQuery(Function<TQuery, QueryPredicate> fn, Collection<Map.Entry<String, String>> predicateVar) default TaddQuery(Function<TQuery, QueryPredicate> fn, Map<String, Collection<String>> predicateVar) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addSort(TValue sort) default Tdefault Tdefault T<TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addWhere(TValue where) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> addWithTotal(TValue withTotal) default SimplePagedQueryResourceRequest<T,TResult, TQuery> default TgetFirstQueryParam(String key) getQueryParam(String key) queryDsl()<TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withLimit(TValue limit) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withOffset(TValue offset) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withPredicateVar(String varName, Collection<TValue> predicateVar) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withPredicateVar(String varName, TValue predicateVar) default Tdefault Tdefault TwithQuery(Function<TQuery, QueryPredicate> fn, Collection<Map.Entry<String, String>> predicateVar) default TwithQuery(Function<TQuery, QueryPredicate> fn, Map<String, Collection<String>> predicateVar) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withSort(TValue sort) default Tdefault Tdefault T<TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withWhere(TValue where) <TValue> SimplePagedQueryResourceRequest<T,TResult, TQuery> withWithTotal(TValue withTotal) Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
execute, executeBlocking, executeBlockingMethods inherited from interface io.vrap.rmf.base.client.RequestCommand
execute, executeBlocking, executeBlocking
-
Method Details
-
withLimit
-
addLimit
-
withOffset
-
addOffset
-
withSort
-
addSort
-
withWhere
-
addWhere
-
withWithTotal
-
addWithTotal
-
withPredicateVar
<TValue> SimplePagedQueryResourceRequest<T,TResult, withPredicateVarTQuery> (String varName, TValue predicateVar) -
addPredicateVar
<TValue> SimplePagedQueryResourceRequest<T,TResult, addPredicateVarTQuery> (String varName, TValue predicateVar) -
withPredicateVar
<TValue> SimplePagedQueryResourceRequest<T,TResult, withPredicateVarTQuery> (String varName, Collection<TValue> predicateVar) -
addPredicateVar
<TValue> SimplePagedQueryResourceRequest<T,TResult, addPredicateVarTQuery> (String varName, Collection<TValue> predicateVar) -
getQueryParams
List<ApiMethod.ParamEntry<String,String>> getQueryParams() -
getQueryParam
-
getFirstQueryParam
-
asPagedQueryResourceRequest
-
queryDsl
TQuery queryDsl() -
withQuery
-
addQuery
-
withQuery
-
addQuery
-
withQuery
default T withQuery(Function<TQuery, QueryPredicate> fn, Map<String, Collection<String>> predicateVar) -
addQuery
-
withQuery
default T withQuery(Function<TQuery, QueryPredicate> fn, Collection<Map.Entry<String, String>> predicateVar) -
addQuery
default T addQuery(Function<TQuery, QueryPredicate> fn, Collection<Map.Entry<String, String>> predicateVar) -
withWhere
-
addWhere
-
withWhere
-
addWhere
-
withWhere
-
addWhere
-
asPagedQueryResourceRequestToBaseType
-