Interface BackendBusinessObjectJCo

    • Method Detail

      • 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​(java.lang.String connectionName,
                                       java.lang.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​(java.lang.String connectionName,
                                       java.lang.String destinationName,
                                       java.lang.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​(java.lang.String defaultConnectionName)
        Sets the defaultConnectionName.
        Parameters:
        defaultConnectionName - default connection name to be set
      • getDefaultConnectionName

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

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

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