Class Transaction

    • Field Detail

      • _systemTransaction

        protected final Transaction _systemTransaction
    • Method Detail

      • checkSynchronization

        public final void checkSynchronization()
      • addTransactionListener

        public void addTransactionListener​(TransactionListener listener)
      • clearAll

        protected final void clearAll()
      • clear

        protected abstract void clear()
      • close

        public void close​(boolean rollbackOnClose)
      • discardReferenceSystem

        protected void discardReferenceSystem()
      • commit

        public abstract void commit()
      • commitTransactionListeners

        protected void commitTransactionListeners()
      • isSystemTransaction

        protected boolean isSystemTransaction()
      • delete

        public boolean delete​(ObjectReference ref,
                              int id,
                              int cascade)
      • dontDelete

        public void dontDelete​(int a_id)
      • processDeletes

        public abstract void processDeletes()
      • reflector

        public final Reflector reflector()
      • rollback

        public abstract void rollback()
      • rollBackTransactionListeners

        protected void rollBackTransactionListeners()
      • systemTransaction

        public Transaction systemTransaction()
      • toString

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

        public abstract void writeUpdateAdjustIndexes​(int id,
                                                      ClassMetadata clazz,
                                                      ArrayType typeInfo)
      • parentTransaction

        public Transaction parentTransaction()
      • rollbackReferenceSystem

        public void rollbackReferenceSystem()
      • postCommit

        public void postCommit()
      • commitReferenceSystem

        public void commitReferenceSystem()
      • objectForIdFromCache

        public final java.lang.Object objectForIdFromCache​(int id)
      • referenceForObject

        public final ObjectReference referenceForObject​(java.lang.Object obj)
      • removeReference

        public final void removeReference​(ObjectReference ref)
      • removeObjectFromReferenceSystem

        public final void removeObjectFromReferenceSystem​(java.lang.Object obj)
      • setOutSideRepresentation

        public void setOutSideRepresentation​(ObjectContainer objectContainer)
      • context

        public Context context()
      • traverseDelete

        protected void traverseDelete​(Visitor4 deleteVisitor)
      • wrap

        public java.lang.Object wrap​(java.lang.Object value)
      • versionForId

        public abstract long versionForId​(int id)
      • generateTransactionTimestamp

        public abstract long generateTransactionTimestamp​(long forcedTimeStamp)
      • useDefaultTransactionTimestamp

        public abstract void useDefaultTransactionTimestamp()
      • postOpen

        public void postOpen()