public class DictionaryModelType.DictionaryModelTypeTransactionListener extends TransactionListenerAdapter
Constructor and Description |
---|
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(Object obj) |
afterRollback, beforeCompletion, flush
public DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService, ContentService contentService)
public void afterCommit()
TransactionListenerAdapter
Any 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 org.alfresco.util.transaction.TransactionListener
afterCommit
in class TransactionListenerAdapter
public void beforeCommit(boolean readOnly)
TransactionListenerAdapter
All transaction resources are still available.
beforeCommit
in interface org.alfresco.util.transaction.TransactionListener
beforeCommit
in class TransactionListenerAdapter
readOnly
- true if the transaction is read-onlyTransactionListener.beforeCommit(boolean)
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2005–2017 Alfresco Software. All rights reserved.