|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.transaction.TransactionListenerAdapter
org.alfresco.repo.dictionary.DictionaryModelType.DictionaryModelTypeTransactionListener
public class DictionaryModelType.DictionaryModelTypeTransactionListener
Dictionary model type transaction listener class.
Constructor Summary | |
---|---|
DictionaryModelType.DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService,
ContentService contentService)
|
Method Summary | |
---|---|
void |
afterCommit()
Invoked after transaction commit. |
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 |
---|
afterRollback, beforeCompletion, flush |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DictionaryModelType.DictionaryModelTypeTransactionListener(org.alfresco.service.cmr.repository.NodeService nodeService, ContentService contentService)
Method Detail |
---|
public void afterCommit()
TransactionListenerAdapter
Any exceptions generated here will cause the transaction to rollback.
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 TransactionListener
afterCommit
in class TransactionListenerAdapter
public void beforeCommit(boolean readOnly)
TransactionListenerAdapter
All transaction resources are still available.
beforeCommit
in interface TransactionListener
beforeCommit
in class TransactionListenerAdapter
readOnly
- true if the transaction is read-onlyTransactionListener.beforeCommit(boolean)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |