Package com.commercetools.api.client
Interface PagedQueryResourceRequest<T extends PagedQueryResourceRequest<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>
,SimplePagedQueryResourceRequest<T,
TResult, TQuery>
- All Known Subinterfaces:
ByProjectKeyApiClientsGetMixin
,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGetMixin
,ByProjectKeyAssociateRolesGetMixin
,ByProjectKeyAttributeGroupsGetMixin
,ByProjectKeyBusinessUnitsGetMixin
,ByProjectKeyCartDiscountsGetMixin
,ByProjectKeyCartsGetMixin
,ByProjectKeyCategoriesGetMixin
,ByProjectKeyChannelsGetMixin
,ByProjectKeyCustomerGroupsGetMixin
,ByProjectKeyCustomersGetMixin
,ByProjectKeyCustomObjectsByContainerGetMixin
,ByProjectKeyCustomObjectsGetMixin
,ByProjectKeyDiscountCodesGetMixin
,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGetMixin
,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGetMixin
,ByProjectKeyInventoryGetMixin
,ByProjectKeyMessagesGetMixin
,ByProjectKeyOrdersEditsGetMixin
,ByProjectKeyOrdersGetMixin
,ByProjectKeyPaymentsGetMixin
,ByProjectKeyProductDiscountsGetMixin
,ByProjectKeyProductProjectionsGetMixin
,ByProjectKeyProductSelectionsGetMixin
,ByProjectKeyProductsGetMixin
,ByProjectKeyProductTypesGetMixin
,ByProjectKeyReviewsGetMixin
,ByProjectKeyShippingMethodsGetMixin
,ByProjectKeyShoppingListsGetMixin
,ByProjectKeyStandalonePricesGetMixin
,ByProjectKeyStatesGetMixin
,ByProjectKeyStoresGetMixin
,ByProjectKeyTaxCategoriesGetMixin
,ByProjectKeyTypesGetMixin
,ByProjectKeyZonesGetMixin
- All Known Implementing Classes:
ByProjectKeyApiClientsGet
,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet
,ByProjectKeyAssociateRolesGet
,ByProjectKeyAttributeGroupsGet
,ByProjectKeyBusinessUnitsGet
,ByProjectKeyCartDiscountsGet
,ByProjectKeyCartsGet
,ByProjectKeyCategoriesGet
,ByProjectKeyChannelsGet
,ByProjectKeyCustomerGroupsGet
,ByProjectKeyCustomersGet
,ByProjectKeyCustomObjectsByContainerGet
,ByProjectKeyCustomObjectsGet
,ByProjectKeyDiscountCodesGet
,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet
,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet
,ByProjectKeyInventoryGet
,ByProjectKeyMessagesGet
,ByProjectKeyOrdersEditsGet
,ByProjectKeyOrdersGet
,ByProjectKeyPaymentsGet
,ByProjectKeyProductDiscountsGet
,ByProjectKeyProductProjectionsGet
,ByProjectKeyProductSelectionsGet
,ByProjectKeyProductsGet
,ByProjectKeyProductTypesGet
,ByProjectKeyReviewsGet
,ByProjectKeyShippingMethodsGet
,ByProjectKeyShoppingListsGet
,ByProjectKeyStandalonePricesGet
,ByProjectKeyStatesGet
,ByProjectKeyStoresGet
,ByProjectKeyTaxCategoriesGet
,ByProjectKeyTypesGet
,ByProjectKeyZonesGet
public interface PagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,TResult,TQuery>,TResult,TQuery>
extends RequestCommand<TResult>, ClientRequestCommand<TResult>, SimplePagedQueryResourceRequest<T,TResult,TQuery>
Interface with common methods for query endpoints
-
Method Summary
Modifier and TypeMethodDescription<TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addExpand
(TValue expand) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addLimit
(TValue limit) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addOffset
(TValue offset) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addPredicateVar
(String varName, Collection<TValue> predicateVar) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addPredicateVar
(String varName, TValue predicateVar) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addSort
(TValue sort) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addWhere
(TValue where) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> addWithTotal
(TValue withTotal) default PagedQueryResourceRequest<T,
TResult, TQuery> getFirstQueryParam
(String key) getQueryParam
(String key) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withExpand
(TValue expand) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withLimit
(TValue limit) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withOffset
(TValue offset) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withPredicateVar
(String varName, Collection<TValue> predicateVar) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withPredicateVar
(String varName, TValue predicateVar) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withSort
(TValue sort) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withWhere
(TValue where) <TValue> PagedQueryResourceRequest<T,
TResult, TQuery> withWithTotal
(TValue withTotal) Methods inherited from interface io.vrap.rmf.base.client.ClientRequestCommand
execute, executeBlocking, executeBlocking
Methods inherited from interface io.vrap.rmf.base.client.RequestCommand
execute, executeBlocking, executeBlocking
-
Method Details
-
withLimit
- Specified by:
withLimit
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addLimit
- Specified by:
addLimit
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withOffset
- Specified by:
withOffset
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addOffset
- Specified by:
addOffset
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withSort
- Specified by:
withSort
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addSort
- Specified by:
addSort
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withWhere
- Specified by:
withWhere
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addWhere
- Specified by:
addWhere
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withExpand
-
addExpand
-
withWithTotal
- Specified by:
withWithTotal
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addWithTotal
- Specified by:
addWithTotal
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withPredicateVar
<TValue> PagedQueryResourceRequest<T,TResult, withPredicateVarTQuery> (String varName, TValue predicateVar) - Specified by:
withPredicateVar
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addPredicateVar
<TValue> PagedQueryResourceRequest<T,TResult, addPredicateVarTQuery> (String varName, TValue predicateVar) - Specified by:
addPredicateVar
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
withPredicateVar
<TValue> PagedQueryResourceRequest<T,TResult, withPredicateVarTQuery> (String varName, Collection<TValue> predicateVar) - Specified by:
withPredicateVar
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
addPredicateVar
<TValue> PagedQueryResourceRequest<T,TResult, addPredicateVarTQuery> (String varName, Collection<TValue> predicateVar) - Specified by:
addPredicateVar
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
getQueryParams
List<ApiMethod.ParamEntry<String,String>> getQueryParams()- Specified by:
getQueryParams
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
getQueryParam
- Specified by:
getQueryParam
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
getFirstQueryParam
- Specified by:
getFirstQueryParam
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-
asPagedQueryResourceRequest
- Specified by:
asPagedQueryResourceRequest
in interfaceSimplePagedQueryResourceRequest<T extends PagedQueryResourceRequest<T,
TResult, TQuery>, TResult, TQuery>
-