org.alfresco.repo.domain.hibernate
Class TransactionImpl

java.lang.Object
  extended by org.alfresco.repo.domain.hibernate.LifecycleAdapter
      extended by org.alfresco.repo.domain.hibernate.TransactionImpl
All Implemented Interfaces:
java.io.Serializable, Transaction, org.hibernate.classic.Lifecycle

public class TransactionImpl
extends LifecycleAdapter
implements Transaction, java.io.Serializable

Bean containing all the persistence data representing a Transaction.

This implementation of the Transaction interface is Hibernate specific.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.hibernate.classic.Lifecycle
NO_VETO, VETO
 
Constructor Summary
TransactionImpl()
           
 
Method Summary
 java.lang.String getChangeTxnId()
           
 java.lang.Long getCommitTimeMs()
           
 java.lang.Long getId()
           
 Server getServer()
           
 java.lang.Long getVersion()
           
 void setChangeTxnId(java.lang.String changeTransactionId)
           
 void setCommitTimeMs(java.lang.Long commitTimeMs)
           
 void setServer(Server server)
           
 java.lang.String toString()
           
 
Methods inherited from class org.alfresco.repo.domain.hibernate.LifecycleAdapter
getSession, onDelete, onLoad, onSave, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionImpl

public TransactionImpl()
Method Detail

toString

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

getId

public java.lang.Long getId()
Specified by:
getId in interface Transaction

getVersion

public java.lang.Long getVersion()
Specified by:
getVersion in interface Transaction

getChangeTxnId

public java.lang.String getChangeTxnId()
Specified by:
getChangeTxnId in interface Transaction

setChangeTxnId

public void setChangeTxnId(java.lang.String changeTransactionId)
Specified by:
setChangeTxnId in interface Transaction

getCommitTimeMs

public java.lang.Long getCommitTimeMs()
Specified by:
getCommitTimeMs in interface Transaction

setCommitTimeMs

public void setCommitTimeMs(java.lang.Long commitTimeMs)
Specified by:
setCommitTimeMs in interface Transaction

getServer

public Server getServer()
Specified by:
getServer in interface Transaction

setServer

public void setServer(Server server)
Specified by:
setServer in interface Transaction


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.