Class RunInNewTransaction
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.execution.RunInNewTransaction
-
@Deprecated public class RunInNewTransaction extends Object
Deprecated.since 6.0. Use insteadRunDocumentChainwith 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 StringchainIdDeprecated.protected PropertieschainParametersDeprecated.protected OperationContextctxDeprecated.static StringIDDeprecated.protected booleanisolateDeprecated.protected booleanrollbackGlobalOnErrorDeprecated.protected AutomationServiceserviceDeprecated.protected CoreSessionsessionDeprecated.protected IntegertimeoutDeprecated.
-
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 OperationExceptionDeprecated.- Throws:
OperationException
-
-