public class CurrentTransaction
extends java.lang.Object
CurrentTransaction
provides methods for disabling Nuclos core features
This Class is usually used in Rule-classes and allows API access only
Constructor and Description |
---|
CurrentTransaction() |
Modifier and Type | Method and Description |
---|---|
static void |
disableBusinessObjectMetaUpdate()
This method disables update of fields
CHANGEDBY , CHANGEDAT and VERSION by the system
and enables the use of setCreatedBy and setChangedBy in rules |
static void |
disableRuleExecution()
This method disables execution of any rules for the current transaction
|
void |
setTransactionService(TransactionService service) |
public void setTransactionService(TransactionService service)
public static void disableRuleExecution()
public static void disableBusinessObjectMetaUpdate()
CHANGEDBY
, CHANGEDAT
and VERSION
by the system
and enables the use of setCreatedBy
and setChangedBy
in rulesCopyright © 2024. All rights reserved.