Class BackendBusinessObjectBaseJCo
java.lang.Object
de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
- All Implemented Interfaces:
BackendBusinessObject,BackendBusinessObjectJCo
- Direct Known Subclasses:
ConverterBackendERPCRM,IsaBackendBusinessObjectBaseSalesERP,SapCreditCheckBackendERP,SapInvoiceBackendImpl,SapPricingBackendERP,SapProductAvailabilityBackendERP,SearchBackendERP,TransactionConfigurationBase
public class BackendBusinessObjectBaseJCo
extends BackendBusinessObjectBase
implements BackendBusinessObjectJCo
Base implementation of the BackendBusinessObjectJCo interface.
-
Field Summary
Fields inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
genericFactory, moduleConfigurationAccess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the defaultConnectionName.Returns the destinationName.Returns the requested default JCo connection with the default connection name and the RFC connection defined in the SAP Base Store configuration.getJCoConnection(String connectionName, String destinationName) Returns the requested JCo connection.getJCoConnection(String connectionName, String destinationName, String scopeId) Returns the requested JCo connection for a given scope.protected StringGet the current module id.voidsetDefaultConnectionName(String defaultConnectionName) Sets the defaultConnectionName.voidsetDefaultDestinationName(String defaultDestinationName) Sets the destinationName (optional).voidsetManagedConnectionContainer(JCoManagedConnectionContainer managedConnectionContainer) Injection setter forDefaultJCoManagedConnectionContainer.toString()Methods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, initBackendObject, setGenericFactory, setModuleConfigurationAccessMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
Constructor Details
-
BackendBusinessObjectBaseJCo
public BackendBusinessObjectBaseJCo()
-
-
Method Details
-
setManagedConnectionContainer
Injection setter forDefaultJCoManagedConnectionContainer.- Parameters:
managedConnectionContainer-DefaultJCoManagedConnectionContainer
-
getDefaultJCoConnection
Description copied from interface:BackendBusinessObjectJCoReturns the requested default JCo connection with the default connection name and the RFC connection defined in the SAP Base Store configuration.- Specified by:
getDefaultJCoConnectionin interfaceBackendBusinessObjectJCo- Returns:
- JCo client connection to an SAP system
-
getJCoConnection
Description copied from interface:BackendBusinessObjectJCoReturns the requested JCo connection.- Specified by:
getJCoConnectionin interfaceBackendBusinessObjectJCo- Parameters:
connectionName- name of the connection as defined in sapcorejco-spring.xml (e.g. JCoConnectionStateless)destinationName- name of the RFC destination to be used- Returns:
- JCo client connection to an SAP system
-
getJCoConnection
public JCoConnection getJCoConnection(String connectionName, String destinationName, String scopeId) Description copied from interface:BackendBusinessObjectJCoReturns the requested JCo connection for a given scope.- Specified by:
getJCoConnectionin interfaceBackendBusinessObjectJCo- Parameters:
connectionName- name of the connection as defined in sapcorejco-spring.xml (e.g. JCoConnectionStateless)destinationName- name of the RFC destination to be usedscopeId- scope id which is needed to identify different connections (sessions) to the same destination- Returns:
- JCo client connection to an SAP system
-
getModuleId
Get the current module id.- Returns:
- module id
-
setDefaultConnectionName
Description copied from interface:BackendBusinessObjectJCoSets the defaultConnectionName.- Specified by:
setDefaultConnectionNamein interfaceBackendBusinessObjectJCo- Parameters:
defaultConnectionName- default connection name to be set
-
getDefaultConnectionName
Description copied from interface:BackendBusinessObjectJCoReturns the defaultConnectionName.- Specified by:
getDefaultConnectionNamein interfaceBackendBusinessObjectJCo- Returns:
- default connection name
-
setDefaultDestinationName
Description copied from interface:BackendBusinessObjectJCoSets the destinationName (optional).- Specified by:
setDefaultDestinationNamein interfaceBackendBusinessObjectJCo- Parameters:
defaultDestinationName- destination name to be used for JCo
-
getDefaultDestinationName
Description copied from interface:BackendBusinessObjectJCoReturns the destinationName.- Specified by:
getDefaultDestinationNamein interfaceBackendBusinessObjectJCo- Returns:
- destinationName to be used for JCo
-
toString
- Overrides:
toStringin classBackendBusinessObjectBase
-