Package org.nuclos.api.transaction
Class CurrentTransaction
java.lang.Object
org.nuclos.api.transaction.CurrentTransaction
CurrentTransaction provides methods for disabling Nuclos core features
This Class is usually used in Rule-classes and allows API access only
- Author:
- Kai Fibr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method disables update of fieldsCHANGEDBY,CHANGEDATandVERSIONby the system and enables the use ofsetCreatedByandsetChangedByin rulesstatic voidThis method disables execution of any rules for the current transactionvoidsetTransactionService(TransactionService service)
-
Constructor Details
-
CurrentTransaction
public CurrentTransaction()
-
-
Method Details
-
setTransactionService
-
disableRuleExecution
public static void disableRuleExecution()This method disables execution of any rules for the current transaction -
disableBusinessObjectMetaUpdate
public static void disableBusinessObjectMetaUpdate()This method disables update of fieldsCHANGEDBY,CHANGEDATandVERSIONby the system and enables the use ofsetCreatedByandsetChangedByin rules
-