Package org.alfresco.repo.transaction
Interface TransactionalDao
-
public interface TransactionalDaoContract for a DAO to interact with a transaction.- Author:
- davidc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeforeCommit(boolean readOnly)This callback provides a chance for the DAO to do any pre-commit work.booleanisDirty()Are there any pending changes which must be synchronized with the store?
-
-
-
Method Detail
-
isDirty
boolean isDirty()
Are there any pending changes which must be synchronized with the store?- Returns:
- true => changes are pending
-
beforeCommit
void beforeCommit(boolean readOnly)
This callback provides a chance for the DAO to do any pre-commit work.- Parameters:
readOnly- true if the transaction was read-only- Since:
- 1.4.5
-
-