Class RunInNewTransaction
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.execution.RunInNewTransaction
-
@Deprecated public class RunInNewTransaction extends Object
Deprecated.since 6.0. Use insteadRunDocumentChain
with ID 'Context.RunDocumentOperation'. Operation to run an operation chain in a separate transaction. The existing transaction is committed before running the new transaction.- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description protected String
chainId
Deprecated.protected Properties
chainParameters
Deprecated.protected OperationContext
ctx
Deprecated.static String
ID
Deprecated.protected boolean
isolate
Deprecated.protected boolean
rollbackGlobalOnError
Deprecated.protected AutomationService
service
Deprecated.protected CoreSession
session
Deprecated.protected Integer
timeout
Deprecated.
-
Constructor Summary
Constructors Constructor Description RunInNewTransaction()
Deprecated.
-
-
-
Field Detail
-
ID
public static final String ID
Deprecated.- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
Deprecated.
-
service
protected AutomationService service
Deprecated.
-
session
protected CoreSession session
Deprecated.
-
chainId
protected String chainId
Deprecated.
-
isolate
protected boolean isolate
Deprecated.
-
rollbackGlobalOnError
protected boolean rollbackGlobalOnError
Deprecated.
-
chainParameters
protected Properties chainParameters
Deprecated.
-
timeout
protected Integer timeout
Deprecated.
-
-
Method Detail
-
run
public void run() throws OperationException
Deprecated.- Throws:
OperationException
-
-