Class RepositoryRecording100

java.lang.Object
de.hybris.platform.sap.core.jco.rec.version100.RepositoryRecording100
All Implemented Interfaces:
RepositoryRecording

public class RepositoryRecording100 extends Object implements RepositoryRecording
Implementation of RepositoryRecording for the version 1.0.0 of the Repository.
  • Constructor Details

    • RepositoryRecording100

      public RepositoryRecording100(File file)
      Constructor.
      Parameters:
      file - this file is the location the recorded
  • Method Details

    • putFunction

      public int putFunction(com.sap.conn.jco.JCoFunction function)
      Description copied from interface: RepositoryRecording
      While recording, this method helps to add a (new) function to the Repository.
      Specified by:
      putFunction in interface RepositoryRecording
      Parameters:
      function - the JCoFunction that should be added.
      Returns:
      Returns a number that indicates the position in the requesting/execution-order.
    • writeRepositoryToFile

      public void writeRepositoryToFile() throws JCoRecException
      Description copied from interface: RepositoryRecording
      Saves the collected data in a file on disk.
      Specified by:
      writeRepositoryToFile in interface RepositoryRecording
      Throws:
      JCoRecException - if an error (e.g. I/O exception) occurs during saving.