Class RWTransaction

    • Method Detail

      • isClean

        public boolean isClean()
        Description copied from interface: TransactionIF
        INTERNAL: Returns true the transaction is clean, i.e. no changes have been made.
      • isReadOnly

        public boolean isReadOnly()
        Description copied from interface: TransactionIF
        INTERNAL: Returns true if this is a read-only transaction.
      • assignIdentity

        public void assignIdentity​(PersistentIF object)
      • create

        public void create​(PersistentIF object)
        Description copied from interface: TransactionIF
        INTERNAL: Registers the object with the transaction and marks it for creation in the data repository.
      • delete

        public void delete​(PersistentIF object)
        Description copied from interface: TransactionIF
        INTERNAL: Unregisters the object with the transaction and marks it for deletion in the data repository.
      • flush

        public void flush()
        Description copied from interface: TransactionIF
        INTERNAL: Stores all pending changes in the data repository. Note that the transaction is not commited.
        Specified by:
        flush in interface TransactionIF
        Specified by:
        flush in class AbstractTransaction
      • objectDirty

        public void objectDirty​(PersistentIF object)
        Description copied from interface: TransactionIF
        INTERNAL: Called by PersistentIFs when the object's data has changed.
      • objectRead

        public void objectRead​(IdentityIF identity)
      • objectCreated

        public void objectCreated​(PersistentIF object)
      • objectDeleted

        public void objectDeleted​(PersistentIF object)
      • isObjectClean

        public boolean isObjectClean​(IdentityIF identity)
      • registerMerge

        public void registerMerge​(TMObject source,
                                  TMObject target)
        INTERNAL: Called by RDBMSTopicMapStore to notify the transaction of a performed merge.
        Parameters:
        source -
        target -
      • objectMerged

        public void objectMerged​(IdentityIF source,
                                 IdentityIF target)
        INTERNAL: Called by other transactions to notify this transaction of committed merges. Default implementation is empty. RWTransaction notifies the added and modified objects of the merge, allowing them to update their fields as needed.
        Overrides:
        objectMerged in class AbstractTransaction
        Parameters:
        source - The identity of the object merged into target
        target - The identity of the target object that was merged