Merge from head.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3314 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-07-13 07:06:30 +00:00
parent b601821d98
commit fae76d7896
41 changed files with 1354 additions and 147 deletions

View File

@@ -18,6 +18,8 @@ package org.alfresco.service.transaction;
import javax.transaction.UserTransaction;
import org.alfresco.service.NotAuditable;
/**
* Contract for retrieving access to a user transaction.
* <p>
@@ -34,6 +36,7 @@ public interface TransactionService
*
* @return Returns true if all transactions are read-only.
*/
@NotAuditable
public boolean isReadOnly();
/**
@@ -42,6 +45,7 @@ public interface TransactionService
*
* @return the user transaction
*/
@NotAuditable
UserTransaction getUserTransaction();
/**
@@ -53,6 +57,7 @@ public interface TransactionService
* system is in read-only mode.
* @return the user transaction
*/
@NotAuditable
UserTransaction getUserTransaction(boolean readOnly);
/**
@@ -64,6 +69,7 @@ public interface TransactionService
*
* @return Returns a non-propagating user transaction
*/
@NotAuditable
UserTransaction getNonPropagatingUserTransaction();
/**
@@ -78,5 +84,6 @@ public interface TransactionService
* system is in read-only mode.
* @return Returns a non-gating user transaction
*/
@NotAuditable
UserTransaction getNonPropagatingUserTransaction(boolean readOnly);
}