Class DefaultRestServiceConfiguration
java.lang.Object
com.sap.sapoaacarintegration.services.rest.impl.DefaultRestServiceConfiguration
- All Implemented Interfaces:
RestServiceConfiguration
DefaultRestServiceConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMode()intgetUser()protected voidvoidprotected voidprotected voidvoidsetConsumerId(String consumerId) voidsetItemCategory(String itemCategory) voidsetMode(Sapoaa_mode mode) voidsetOaaProfile(String oaaProfile) voidsetPassword(String password) voidsetSalesChannel(String salesChannel) voidsetSapCarClient(String sapCarClient) voidsetSapCoreConfigurationService(SAPConfigurationService sapCoreConfigurationService) voidsetSapGlobalConfigurationService(SAPGlobalConfigurationService sapGlobalConfigurationService) voidsetTargetUrl(String targetUrl) voidprotected voidprotected voidprotected void
-
Constructor Details
-
DefaultRestServiceConfiguration
public DefaultRestServiceConfiguration()
-
-
Method Details
-
initializeGlobalConfiguration
protected void initializeGlobalConfiguration() -
initializeConfiguration
public void initializeConfiguration()- Specified by:
initializeConfigurationin interfaceRestServiceConfiguration
-
readProperties
protected void readProperties() -
initializeBaseStoreConfiguration
protected void initializeBaseStoreConfiguration() -
validateConfiguration
protected void validateConfiguration() -
validateMode
protected void validateMode() -
validateHttpDestination
protected void validateHttpDestination() -
getUser
- Specified by:
getUserin interfaceRestServiceConfiguration- Returns:
- user
-
setUser
- Specified by:
setUserin interfaceRestServiceConfiguration
-
getPassword
- Specified by:
getPasswordin interfaceRestServiceConfiguration- Returns:
- password
-
setPassword
- Specified by:
setPasswordin interfaceRestServiceConfiguration
-
getTargetUrl
- Specified by:
getTargetUrlin interfaceRestServiceConfiguration- Returns:
- targetUrl
-
setTargetUrl
- Specified by:
setTargetUrlin interfaceRestServiceConfiguration
-
getSapCarClient
- Specified by:
getSapCarClientin interfaceRestServiceConfiguration- Returns:
- sapCarClient
-
getOaaProfile
- Specified by:
getOaaProfilein interfaceRestServiceConfiguration- Returns:
- oaaProfile
-
setOaaProfile
- Specified by:
setOaaProfilein interfaceRestServiceConfiguration
-
setSapCarClient
- Specified by:
setSapCarClientin interfaceRestServiceConfiguration
-
setSapGlobalConfigurationService
public void setSapGlobalConfigurationService(SAPGlobalConfigurationService sapGlobalConfigurationService) -
setSapCoreConfigurationService
-
getConnectTimeout
public int getConnectTimeout()- Specified by:
getConnectTimeoutin interfaceRestServiceConfiguration- Returns:
- connectionTimeout
-
getReadTimeout
public int getReadTimeout()- Specified by:
getReadTimeoutin interfaceRestServiceConfiguration- Returns:
- restTimeOut
-
setItemCategory
- Specified by:
setItemCategoryin interfaceRestServiceConfiguration- Parameters:
itemCategory- for drop shipment
-
getItemCategory
- Specified by:
getItemCategoryin interfaceRestServiceConfiguration- Returns:
- itemCategory for drop shipment
-
setSalesChannel
- Specified by:
setSalesChannelin interfaceRestServiceConfiguration
-
getSalesChannel
- Specified by:
getSalesChannelin interfaceRestServiceConfiguration- Returns:
- salesChannel
-
setMode
- Specified by:
setModein interfaceRestServiceConfiguration
-
getMode
- Specified by:
getModein interfaceRestServiceConfiguration- Returns:
- mode
-
setConsumerId
- Specified by:
setConsumerIdin interfaceRestServiceConfiguration
-
getConsumerId
- Specified by:
getConsumerIdin interfaceRestServiceConfiguration- Returns:
- consumerId
-