|
|||||||||
| 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()
TransactionListenerAdapterAny 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 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||