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()java.util.List<java.lang.String>getExportableIntegrationObjects()Get the list of the exportable integration object codes.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)voidsetExportableIntegrationObjects(java.util.List<java.lang.String> exportableIos)Set the exportable integration objects.
-
-
-
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
-
getExportableIntegrationObjects
public java.util.List<java.lang.String> getExportableIntegrationObjects()
Description copied from interface:ODataServicesConfigurationGet the list of the exportable integration object codes.- Specified by:
getExportableIntegrationObjectsin interfaceODataServicesConfiguration- Returns:
- the list of the exportable integration object codes
-
setExportableIntegrationObjects
public void setExportableIntegrationObjects(java.util.List<java.lang.String> exportableIos)
Description copied from interface:ODataServicesConfigurationSet the exportable integration objects.- Specified by:
setExportableIntegrationObjectsin interfaceODataServicesConfiguration- Parameters:
exportableIos- the list of exportable integration object codes
-
-