mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user