Class DefaultCarConfigurationService
- java.lang.Object
-
- de.hybris.platform.sap.sapcarintegration.services.impl.DefaultCarConfigurationService
-
- All Implemented Interfaces:
CarConfigurationService
public class DefaultCarConfigurationService extends java.lang.Object implements CarConfigurationService
Default concrete implementation to provide business logic forCarConfigurationService
-
-
Constructor Summary
Constructors Constructor Description DefaultCarConfigurationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseStoreServicegetBaseStoreService()protected SAPConfigurationModelgetConfiguration()java.lang.StringgetDistributionChannel()Returns Distribution Channel attributed to the customer activityjava.lang.StringgetDivision()Get the Division tied with the customer activity instancejava.lang.StringgetPassword()Returns the password of the CAR instancejava.lang.StringgetRootUrl()Returns the Root URL for the given CAR instance configurationjava.lang.StringgetSalesOrganization()Provides the sales organization associated with the given activityjava.lang.StringgetSapClient()Returns the SapClient associated with the configuration of the CAR instancejava.lang.StringgetServiceName()Returns the Service name associated with the given Customer Activity Repository instancejava.lang.StringgetTransactionType()Returns the Transaction type associated with the customer activity instancejava.lang.StringgetUsername()Returns the user name for the given CAR instancevoidsetBaseStoreService(BaseStoreService baseStoreService)
-
-
-
Method Detail
-
getBaseStoreService
public BaseStoreService getBaseStoreService()
-
setBaseStoreService
public void setBaseStoreService(BaseStoreService baseStoreService)
-
getSapClient
public java.lang.String getSapClient()
Description copied from interface:CarConfigurationServiceReturns the SapClient associated with the configuration of the CAR instance- Specified by:
getSapClientin interfaceCarConfigurationService- Returns:
- String representation of SapClient
-
getRootUrl
public java.lang.String getRootUrl()
Description copied from interface:CarConfigurationServiceReturns the Root URL for the given CAR instance configuration- Specified by:
getRootUrlin interfaceCarConfigurationService- Returns:
- Root URL as a String
-
getServiceName
public java.lang.String getServiceName()
Description copied from interface:CarConfigurationServiceReturns the Service name associated with the given Customer Activity Repository instance- Specified by:
getServiceNamein interfaceCarConfigurationService- Returns:
- String of Service Name
-
getUsername
public java.lang.String getUsername()
Description copied from interface:CarConfigurationServiceReturns the user name for the given CAR instance- Specified by:
getUsernamein interfaceCarConfigurationService- Returns:
- User name as a String
-
getPassword
public java.lang.String getPassword()
Description copied from interface:CarConfigurationServiceReturns the password of the CAR instance- Specified by:
getPasswordin interfaceCarConfigurationService- Returns:
- Password String
-
getTransactionType
public java.lang.String getTransactionType()
Description copied from interface:CarConfigurationServiceReturns the Transaction type associated with the customer activity instance- Specified by:
getTransactionTypein interfaceCarConfigurationService- Returns:
- Transaction Type
-
getSalesOrganization
public java.lang.String getSalesOrganization()
Description copied from interface:CarConfigurationServiceProvides the sales organization associated with the given activity- Specified by:
getSalesOrganizationin interfaceCarConfigurationService- Returns:
- Sales Organization identity
-
getDistributionChannel
public java.lang.String getDistributionChannel()
Description copied from interface:CarConfigurationServiceReturns Distribution Channel attributed to the customer activity- Specified by:
getDistributionChannelin interfaceCarConfigurationService- Returns:
- Distribution Channel String representation
-
getDivision
public java.lang.String getDivision()
Description copied from interface:CarConfigurationServiceGet the Division tied with the customer activity instance- Specified by:
getDivisionin interfaceCarConfigurationService- Returns:
- Division String
-
getConfiguration
protected SAPConfigurationModel getConfiguration()
-
-