org.alfresco.repo.dictionary
Class DictionaryModelType.DictionaryModelTypeTransactionListener

java.lang.Object
  extended by org.alfresco.repo.transaction.TransactionListenerAdapter
      extended by org.alfresco.repo.dictionary.DictionaryModelType.DictionaryModelTypeTransactionListener
All Implemented Interfaces:
TransactionListener
Enclosing class:
DictionaryModelType

public class DictionaryModelType.DictionaryModelTypeTransactionListener
extends TransactionListenerAdapter

Dictionary model type transaction listener class.


Constructor Summary
DictionaryModelType.DictionaryModelTypeTransactionListener(NodeService nodeService, ContentService contentService)
           
 
Method Summary
 void beforeCommit(boolean readOnly)
          Called before a transaction is committed.
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterCommit, afterRollback, beforeCompletion, flush
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryModelType.DictionaryModelTypeTransactionListener

public DictionaryModelType.DictionaryModelTypeTransactionListener(NodeService nodeService,
                                                                  ContentService contentService)
Method Detail

beforeCommit

public void beforeCommit(boolean readOnly)
Description copied from class: TransactionListenerAdapter
Called before a transaction is committed.

All transaction resources are still available.

Specified by:
beforeCommit in interface TransactionListener
Overrides:
beforeCommit in class TransactionListenerAdapter
Parameters:
readOnly - true if the transaction is read-only
See Also:
TransactionListener.beforeCommit(boolean)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)


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