Class SaSaveInfoImpl

java.lang.Object
com.saperion.rmi.SaSaveInfoImpl
All Implemented Interfaces:
SaSaveInfo, Serializable

public class SaSaveInfoImpl extends Object implements Serializable, SaSaveInfo
RMI server implementation of the SaSaveInfo interface. Holds the backend information like HDoc, SysRowId about a new created or updated document.
Author:
rbo
See Also:
  • Constructor Details

    • SaSaveInfoImpl

      public SaSaveInfoImpl(String dbName, String sysRowId, String hdoc, String transId)
      Constructor.
      Parameters:
      dbName - Database name
      sysRowId - SysRowId
      hdoc - Document XHDOC
      transId - Transaction ID
  • Method Details

    • getDbName

      public final String getDbName()
      Gets the tablename (DDC name) of the saved document.
      Specified by:
      getDbName in interface SaSaveInfo
      Returns:
      the dbName (DDC name)
      See Also:
      • com.saperion.rmi.ISaSaveInfo#getDbName()
    • getHdoc

      public final String getHdoc()
      Gets the HDOC of the document.
      Specified by:
      getHdoc in interface SaSaveInfo
      Returns:
      the document id (hdoc)
      See Also:
      • com.saperion.rmi.ISaSaveInfo#getHdoc()
    • getSysRowId

      public final String getSysRowId()
      Gets the system-wide unique key SYSROWID of the saved document.

      NOTE:
      The SYSROWID field is a completely independent ID. It never corresponds to the XHDOC (revision ID), even at the time of archiving.

      Specified by:
      getSysRowId in interface SaSaveInfo
      Returns:
      system-wide unique key sysRowId
      See Also:
      • com.saperion.rmi.ISaSaveInfo#getXsysrowid()
    • getTransactionId

      public String getTransactionId()
      Gets the transaction ID. Not used.
      Specified by:
      getTransactionId in interface SaSaveInfo
      Returns:
      Transaction ID
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object