public class DictionaryModelType.DictionaryModelTypeTransactionListener extends TransactionListenerAdapter
| Constructor and Description |
|---|
DictionaryModelType.DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService,
ContentService contentService) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit()
Invoked after transaction commit.
|
void |
beforeCommit(boolean readOnly)
Called before a transaction is committed.
|
boolean |
equals(java.lang.Object obj) |
afterRollback, beforeCompletion, flushpublic DictionaryModelType.DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService,
ContentService contentService)
public void afterCommit()
TransactionListenerAdapterAny exceptions generated here will only be logged and will have no effect on the state of the transaction.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.
afterCommit in interface TransactionListenerafterCommit in class TransactionListenerAdapterpublic void beforeCommit(boolean readOnly)
TransactionListenerAdapterAll transaction resources are still available.
beforeCommit in interface TransactionListenerbeforeCommit in class TransactionListenerAdapterreadOnly - true if the transaction is read-onlyTransactionListener.beforeCommit(boolean)public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.