Class SaSaveInfoImpl

  • All Implemented Interfaces:
    SaSaveInfo, java.io.Serializable

    public class SaSaveInfoImpl
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SaSaveInfoImpl​(java.lang.String dbName, java.lang.String sysRowId, java.lang.String hdoc, java.lang.String transId)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDbName()
      Gets the tablename (DDC name) of the saved document.
      java.lang.String getHdoc()
      Gets the HDOC of the document.
      java.lang.String getSysRowId()
      Gets the system-wide unique key SYSROWID of the saved document.
      java.lang.String getTransactionId()
      Gets the transaction ID.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SaSaveInfoImpl

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

      • getDbName

        public final java.lang.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 java.lang.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 java.lang.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()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object