Package com.commercetools.api.client
Interface PagingTrait<T extends PagingTrait<T>>
- Type Parameters:
T
- type of extending interface
- All Known Implementing Classes:
ByProjectKeyApiClientsGet
,ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalRulesGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyCartsGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuoteRequestsGet
,ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyQuotesGet
,ByProjectKeyAssociateRolesGet
,ByProjectKeyAttributeGroupsGet
,ByProjectKeyBusinessUnitsGet
,ByProjectKeyCartDiscountsGet
,ByProjectKeyCartsGet
,ByProjectKeyCategoriesGet
,ByProjectKeyChannelsGet
,ByProjectKeyCustomerGroupsGet
,ByProjectKeyCustomersGet
,ByProjectKeyCustomObjectsByContainerGet
,ByProjectKeyCustomObjectsGet
,ByProjectKeyDiscountCodesGet
,ByProjectKeyExtensionsGet
,ByProjectKeyInStoreKeyByStoreKeyCartDiscountsGet
,ByProjectKeyInStoreKeyByStoreKeyCartsGet
,ByProjectKeyInStoreKeyByStoreKeyCustomersGet
,ByProjectKeyInStoreKeyByStoreKeyMeCartsGet
,ByProjectKeyInStoreKeyByStoreKeyMeGet
,ByProjectKeyInStoreKeyByStoreKeyMeOrdersGet
,ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsGet
,ByProjectKeyInStoreKeyByStoreKeyOrdersGet
,ByProjectKeyInStoreKeyByStoreKeyProductTailoringGet
,ByProjectKeyInStoreKeyByStoreKeyQuoteRequestsGet
,ByProjectKeyInStoreKeyByStoreKeyQuotesGet
,ByProjectKeyInStoreKeyByStoreKeyShoppingListsGet
,ByProjectKeyInStoreKeyByStoreKeyStagedQuotesGet
,ByProjectKeyInventoryGet
,ByProjectKeyMeBusinessUnitsGet
,ByProjectKeyMeCartsGet
,ByProjectKeyMeGet
,ByProjectKeyMeOrdersGet
,ByProjectKeyMePaymentsGet
,ByProjectKeyMeQuoteRequestsGet
,ByProjectKeyMeQuotesGet
,ByProjectKeyMeShoppingListsGet
,ByProjectKeyMessagesGet
,ByProjectKeyOrdersEditsGet
,ByProjectKeyOrdersGet
,ByProjectKeyPaymentsGet
,ByProjectKeyProductDiscountsGet
,ByProjectKeyProductProjectionsGet
,ByProjectKeyProductProjectionsSearchGet
,ByProjectKeyProductsByIDProductSelectionsGet
,ByProjectKeyProductSelectionsByIDProductsGet
,ByProjectKeyProductSelectionsGet
,ByProjectKeyProductSelectionsKeyByKeyProductsGet
,ByProjectKeyProductsGet
,ByProjectKeyProductsKeyByKeyProductSelectionsGet
,ByProjectKeyProductTailoringGet
,ByProjectKeyProductTypesGet
,ByProjectKeyQuoteRequestsGet
,ByProjectKeyQuotesGet
,ByProjectKeyReviewsGet
,ByProjectKeyShippingMethodsGet
,ByProjectKeyShoppingListsGet
,ByProjectKeyStagedQuotesGet
,ByProjectKeyStandalonePricesGet
,ByProjectKeyStatesGet
,ByProjectKeyStoresGet
,ByProjectKeySubscriptionsGet
,ByProjectKeyTaxCategoriesGet
,ByProjectKeyTypesGet
,ByProjectKeyZonesGet
public interface PagingTrait<T extends PagingTrait<T>>
PagingTrait
-
Method Summary
Modifier and TypeMethodDescription<TValue> PagingTrait<T>
addLimit
(TValue limit) add additional limit query parameter<TValue> PagingTrait<T>
addOffset
(TValue offset) add additional offset query parameter<TValue> PagingTrait<T>
addWithTotal
(TValue withTotal) add additional withTotal query parameterdefault PagingTrait<T>
default T
getLimit()
<TValue> PagingTrait<T>
withLimit
(TValue limit) set limit with the specificied value<TValue> PagingTrait<T>
withOffset
(TValue offset) set offset with the specificied value<TValue> PagingTrait<T>
withWithTotal
(TValue withTotal) set withTotal with the specificied value
-
Method Details
-
getLimit
-
getOffset
-
getWithTotal
-
withLimit
set limit with the specificied value- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be set- Returns:
- PagingTrait
-
addLimit
add additional limit query parameter- Type Parameters:
TValue
- value type- Parameters:
limit
- value to be added- Returns:
- PagingTrait
-
withOffset
set offset with the specificied value- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be set- Returns:
- PagingTrait
-
addOffset
add additional offset query parameter- Type Parameters:
TValue
- value type- Parameters:
offset
- value to be added- Returns:
- PagingTrait
-
withWithTotal
set withTotal with the specificied value- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be set- Returns:
- PagingTrait
-
addWithTotal
add additional withTotal query parameter- Type Parameters:
TValue
- value type- Parameters:
withTotal
- value to be added- Returns:
- PagingTrait
-
asPagingTrait
-
asPagingTraitToBaseType
-