Class DefaultOData2ServicesConfiguration
- java.lang.Object
-
- de.hybris.platform.odata2services.config.DefaultOData2ServicesConfiguration
-
- All Implemented Interfaces:
ODataServicesConfiguration
public class DefaultOData2ServicesConfiguration extends java.lang.Object implements ODataServicesConfiguration
-
-
Constructor Summary
Constructors Constructor Description DefaultOData2ServicesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBatchLimit()Determines current setting of the maximum number of batches allowed in an inbound request body.protected ConfigurationServicegetConfigurationService()intgetDefaultPageSize()intgetMaxPageSize()Determines current setting of the maximum number of items allowed per page.voidsetBatchLimit(int maxNumber)Specifies new limit on number of batches in a single inbound request.voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Method Detail
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getBatchLimit
public int getBatchLimit()
Determines current setting of the maximum number of batches allowed in an inbound request body.- Specified by:
getBatchLimitin interfaceODataServicesConfiguration- Returns:
- number of batches that a single request may have.
-
setBatchLimit
public void setBatchLimit(int maxNumber)
Specifies new limit on number of batches in a single inbound request.- Specified by:
setBatchLimitin interfaceODataServicesConfiguration- Parameters:
maxNumber- max number of batches a single inbound request may have.
-
getMaxPageSize
public int getMaxPageSize()
Description copied from interface:ODataServicesConfigurationDetermines current setting of the maximum number of items allowed per page.- Specified by:
getMaxPageSizein interfaceODataServicesConfiguration- Returns:
- number of items that can be returned for a single page.
-
getDefaultPageSize
public int getDefaultPageSize()
- Specified by:
getDefaultPageSizein interfaceODataServicesConfiguration- Returns:
- the default page size for the extension
-
-