Class DefaultOData2ServicesConfiguration
java.lang.Object
de.hybris.platform.odata2services.config.DefaultOData2ServicesConfiguration
- All Implemented Interfaces:
ODataServicesConfiguration
public class DefaultOData2ServicesConfiguration
extends Object
implements ODataServicesConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDetermines current setting of the maximum number of batches allowed in an inbound request body.protected ConfigurationServiceintGet the list of the exportable integration object codes.intDetermines 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(List<String> exportableIos) Set the exportable integration objects.
-
Constructor Details
-
DefaultOData2ServicesConfiguration
public DefaultOData2ServicesConfiguration()
-
-
Method Details
-
getConfigurationService
-
setConfigurationService
-
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
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
Description copied from interface:ODataServicesConfigurationSet the exportable integration objects.- Specified by:
setExportableIntegrationObjectsin interfaceODataServicesConfiguration- Parameters:
exportableIos- the list of exportable integration object codes
-