Interface RepositoryPlayback

  • All Known Implementing Classes:
    JCoRecRepository, RepositoryPlayback100

    public interface RepositoryPlayback
    Interface for the PLAYBACK mode of the JCoRecorder.
    There should be an implementation for every version of the repository-file.
    For instance:
    • JCoRecRepository for originally version of the repository-file.
    • RepositoryPlayback100 for the first revised repository-file version.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.sap.conn.jco.JCoFunction getFunction​(java.lang.String functionName)
      Retrieves a JCoFunction from the recorded back-end data.
      com.sap.conn.jco.JCoRecord getRecord​(java.lang.String recordName)
      Retrieves a JCoRecord from the recorded/written repository-file.
    • Method Detail

      • getFunction

        com.sap.conn.jco.JCoFunction getFunction​(java.lang.String functionName)
                                          throws JCoRecException
        Retrieves a JCoFunction from the recorded back-end data.
        Parameters:
        functionName - the name of the JoFunction.
        Returns:
        Returns the requested JCoFunction.
        Throws:
        JCoRecException - if there is no function with the given name in the recorded data.
      • getRecord

        com.sap.conn.jco.JCoRecord getRecord​(java.lang.String recordName)
                                      throws JCoRecException
        Retrieves a JCoRecord from the recorded/written repository-file.
        Parameters:
        recordName - the name of the JCoRecord.
        Returns:
        Returns the requested JCoRecord.
        Throws:
        JCoRecException - if there is no function with the given name in the recorded/written data.