Class SapCpiCustomerDefaultDestinationService
- java.lang.Object
-
- de.hybris.platform.sap.sapcpicustomerexchange.service.impl.SapCpiCustomerDefaultDestinationService
-
- All Implemented Interfaces:
SapCpiCustomerDestinationService
public class SapCpiCustomerDefaultDestinationService extends java.lang.Object implements SapCpiCustomerDestinationService
Determine which SAP Logical Backend to send Customer data to.
-
-
Constructor Summary
Constructors Constructor Description SapCpiCustomerDefaultDestinationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdetermineUrlDestination(SAPLogicalSystemModel sapLogicalSystem)Determine the URL destination based on the target system supported destination IDoc, SOAP, or MDMjava.lang.StringextractSapClient(SAPLogicalSystemModel sapLogicalSystem)Return sap-client for IDoc destinationprotected SAPGlobalConfigurationDAOgetSapCoreSAPGlobalConfigurationDAO()protected booleanisMdmEnabled()SAPLogicalSystemModelreadSapLogicalSystem()Read SAP logical system from back-office configurationvoidsetMdmEnabled(boolean mdmEnabled)voidsetSapCoreSAPGlobalConfigurationDAO(SAPGlobalConfigurationDAO sapCoreSAPGlobalConfigurationDAO)
-
-
-
Method Detail
-
readSapLogicalSystem
public SAPLogicalSystemModel readSapLogicalSystem()
Description copied from interface:SapCpiCustomerDestinationServiceRead SAP logical system from back-office configuration- Specified by:
readSapLogicalSystemin interfaceSapCpiCustomerDestinationService- Returns:
- SAPLogicalSystemModel
-
determineUrlDestination
public java.lang.String determineUrlDestination(SAPLogicalSystemModel sapLogicalSystem)
Description copied from interface:SapCpiCustomerDestinationServiceDetermine the URL destination based on the target system supported destination IDoc, SOAP, or MDM- Specified by:
determineUrlDestinationin interfaceSapCpiCustomerDestinationService- Parameters:
sapLogicalSystem- SAP Backend System- Returns:
- URL destination
-
extractSapClient
public java.lang.String extractSapClient(SAPLogicalSystemModel sapLogicalSystem)
Description copied from interface:SapCpiCustomerDestinationServiceReturn sap-client for IDoc destination- Specified by:
extractSapClientin interfaceSapCpiCustomerDestinationService- Parameters:
sapLogicalSystem- SAP Backend System- Returns:
- sap-client
-
isMdmEnabled
protected boolean isMdmEnabled()
-
setMdmEnabled
public void setMdmEnabled(boolean mdmEnabled)
-
getSapCoreSAPGlobalConfigurationDAO
protected SAPGlobalConfigurationDAO getSapCoreSAPGlobalConfigurationDAO()
-
setSapCoreSAPGlobalConfigurationDAO
public void setSapCoreSAPGlobalConfigurationDAO(SAPGlobalConfigurationDAO sapCoreSAPGlobalConfigurationDAO)
-
-