Class CurrentTransaction

java.lang.Object
org.nuclos.api.transaction.CurrentTransaction

public class CurrentTransaction extends Object
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 Details

    • CurrentTransaction

      public CurrentTransaction()
  • Method Details

    • setTransactionService

      public void setTransactionService(TransactionService service)
    • 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 fields CHANGEDBY, CHANGEDAT and VERSION by the system and enables the use of setCreatedBy and setChangedBy in rules