Interface BackendBusinessObjectJCo

All Superinterfaces:
BackendBusinessObject
All Known Implementing Classes:
BackendBusinessObjectBaseJCo, BasketERP, ConverterBackendERP, ConverterBackendERPCRM, IsaBackendBusinessObjectBaseSalesERP, OrderBaseERP, OrderERP, OrderHistoryERP, SalesDocumentERP, SapCreditCheckBackendERP, SapInvoiceBackendImpl, SapPricingBackendERP, SapProductAvailabilityBackendERP, SearchBackendERP, TransactionConfigurationBase, TransactionConfigurationERP

public interface BackendBusinessObjectJCo extends BackendBusinessObject
This interface should be implemented by Backend Business Object which communicate with an SAP System using Java Connector of SAP.
  • Method Details

    • getDefaultJCoConnection

      JCoConnection getDefaultJCoConnection() throws BackendException
      Returns the requested default JCo connection with the default connection name and the RFC connection defined in the SAP Base Store configuration.
      Returns:
      JCo client connection to an SAP system
      Throws:
      BackendException - Backend Exception
    • getJCoConnection

      JCoConnection getJCoConnection(String connectionName, String destinationName) throws BackendException
      Returns the requested JCo connection.
      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
      Throws:
      BackendException - Backend Exception
    • getJCoConnection

      JCoConnection getJCoConnection(String connectionName, String destinationName, String scopeId) throws BackendException
      Returns the requested JCo connection for a given scope.
      Parameters:
      connectionName - name of the connection as defined in sapcorejco-spring.xml (e.g. JCoConnectionStateless)
      destinationName - name of the RFC destination to be used
      scopeId - scope id which is needed to identify different connections (sessions) to the same destination
      Returns:
      JCo client connection to an SAP system
      Throws:
      BackendException - Backend Exception
    • setDefaultConnectionName

      void setDefaultConnectionName(String defaultConnectionName)
      Sets the defaultConnectionName.
      Parameters:
      defaultConnectionName - default connection name to be set
    • getDefaultConnectionName

      String getDefaultConnectionName()
      Returns the defaultConnectionName.
      Returns:
      default connection name
    • setDefaultDestinationName

      void setDefaultDestinationName(String destinationName)
      Sets the destinationName (optional).
      Parameters:
      destinationName - destination name to be used for JCo
    • getDefaultDestinationName

      String getDefaultDestinationName()
      Returns the destinationName.
      Returns:
      destinationName to be used for JCo