Package org.alfresco.repo.dictionary
Class DictionaryModelType.DictionaryModelTypeTransactionListener
- java.lang.Object
-
- org.alfresco.repo.transaction.TransactionListenerAdapter
-
- org.alfresco.repo.dictionary.DictionaryModelType.DictionaryModelTypeTransactionListener
-
- All Implemented Interfaces:
TransactionListener,org.alfresco.util.transaction.TransactionListener
- Enclosing class:
- DictionaryModelType
public class DictionaryModelType.DictionaryModelTypeTransactionListener extends TransactionListenerAdapter
Dictionary model type transaction listener class.
-
-
Constructor Summary
Constructors Constructor Description DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService, ContentService contentService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCommit()Invoked after transaction commit.voidbeforeCommit(boolean readOnly)Called before a transaction is committed.booleanequals(java.lang.Object obj)-
Methods inherited from class org.alfresco.repo.transaction.TransactionListenerAdapter
afterRollback, beforeCompletion, flush
-
-
-
-
Constructor Detail
-
DictionaryModelTypeTransactionListener
public DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService, ContentService contentService)
-
-
Method Detail
-
afterCommit
public void afterCommit()
Description copied from class:TransactionListenerAdapterInvoked after transaction commit.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.
- Specified by:
afterCommitin interfaceTransactionListener- Specified by:
afterCommitin interfaceorg.alfresco.util.transaction.TransactionListener- Overrides:
afterCommitin classTransactionListenerAdapter
-
beforeCommit
public void beforeCommit(boolean readOnly)
Description copied from class:TransactionListenerAdapterCalled before a transaction is committed.All transaction resources are still available.
- Specified by:
beforeCommitin interfaceTransactionListener- Specified by:
beforeCommitin interfaceorg.alfresco.util.transaction.TransactionListener- Overrides:
beforeCommitin classTransactionListenerAdapter- Parameters:
readOnly- true if the transaction is read-only- See Also:
TransactionListener.beforeCommit(boolean)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
-