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 Constructor Description BackendBusinessObjectBaseJCo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultConnectionName()Returns the defaultConnectionName.java.lang.StringgetDefaultDestinationName()Returns the destinationName.JCoConnectiongetDefaultJCoConnection()Returns the requested default JCo connection with the default connection name and the RFC connection defined in the SAP Base Store configuration.JCoConnectiongetJCoConnection(java.lang.String connectionName, java.lang.String destinationName)Returns the requested JCo connection.JCoConnectiongetJCoConnection(java.lang.String connectionName, java.lang.String destinationName, java.lang.String scopeId)Returns the requested JCo connection for a given scope.protected java.lang.StringgetModuleId()Get the current module id.voidsetDefaultConnectionName(java.lang.String defaultConnectionName)Sets the defaultConnectionName.voidsetDefaultDestinationName(java.lang.String defaultDestinationName)Sets the destinationName (optional).voidsetManagedConnectionContainer(JCoManagedConnectionContainer managedConnectionContainer)Injection setter forDefaultJCoManagedConnectionContainer.java.lang.StringtoString()-
Methods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, initBackendObject, setGenericFactory, setModuleConfigurationAccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
-
-
-
Method Detail
-
setManagedConnectionContainer
public void setManagedConnectionContainer(JCoManagedConnectionContainer managedConnectionContainer)
Injection setter forDefaultJCoManagedConnectionContainer.- Parameters:
managedConnectionContainer-DefaultJCoManagedConnectionContainer
-
getDefaultJCoConnection
public JCoConnection 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
public JCoConnection getJCoConnection(java.lang.String connectionName, java.lang.String destinationName)
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(java.lang.String connectionName, java.lang.String destinationName, java.lang.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
protected java.lang.String getModuleId()
Get the current module id.- Returns:
- module id
-
setDefaultConnectionName
public void setDefaultConnectionName(java.lang.String defaultConnectionName)
Description copied from interface:BackendBusinessObjectJCoSets the defaultConnectionName.- Specified by:
setDefaultConnectionNamein interfaceBackendBusinessObjectJCo- Parameters:
defaultConnectionName- default connection name to be set
-
getDefaultConnectionName
public java.lang.String getDefaultConnectionName()
Description copied from interface:BackendBusinessObjectJCoReturns the defaultConnectionName.- Specified by:
getDefaultConnectionNamein interfaceBackendBusinessObjectJCo- Returns:
- default connection name
-
setDefaultDestinationName
public void setDefaultDestinationName(java.lang.String defaultDestinationName)
Description copied from interface:BackendBusinessObjectJCoSets the destinationName (optional).- Specified by:
setDefaultDestinationNamein interfaceBackendBusinessObjectJCo- Parameters:
defaultDestinationName- destination name to be used for JCo
-
getDefaultDestinationName
public java.lang.String getDefaultDestinationName()
Description copied from interface:BackendBusinessObjectJCoReturns the destinationName.- Specified by:
getDefaultDestinationNamein interfaceBackendBusinessObjectJCo- Returns:
- destinationName to be used for JCo
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackendBusinessObjectBase
-
-