Class SapCpiB2BCustomerDefaultDestinationService
- java.lang.Object
-
- de.hybris.platform.sap.sapcpicustomerexchangeb2b.outbound.services.impl.SapCpiB2BCustomerDefaultDestinationService
-
- All Implemented Interfaces:
SapCpiB2BCustomerDestinationService
public class SapCpiB2BCustomerDefaultDestinationService extends java.lang.Object implements SapCpiB2BCustomerDestinationService
Determine which SAP Logical Backend to send B2B Customer data to.
-
-
Constructor Summary
Constructors Constructor Description SapCpiB2BCustomerDefaultDestinationService()
-
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:SapCpiB2BCustomerDestinationServiceRead SAP logical system from back-office configuration- Specified by:
readSapLogicalSystemin interfaceSapCpiB2BCustomerDestinationService- Returns:
- SAPLogicalSystemModel
-
determineUrlDestination
public java.lang.String determineUrlDestination(SAPLogicalSystemModel sapLogicalSystem)
Description copied from interface:SapCpiB2BCustomerDestinationServiceDetermine the URL destination based on the target system supported destination IDoc, SOAP, or MDM- Specified by:
determineUrlDestinationin interfaceSapCpiB2BCustomerDestinationService- Parameters:
sapLogicalSystem- SAP Backend System- Returns:
- URL destination
-
extractSapClient
public java.lang.String extractSapClient(SAPLogicalSystemModel sapLogicalSystem)
Description copied from interface:SapCpiB2BCustomerDestinationServiceReturn sap-client for IDoc destination- Specified by:
extractSapClientin interfaceSapCpiB2BCustomerDestinationService- 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)
-
-