+ /// Set whether the operation should be aborted. By default the state is false in operation
+ /// \param theState abort state
+ void setNeedToBeAborted(const bool theState) { myNeedToBeAborted = theState; }
+
+ /// Returns valid state of the operation
+ /// \return custom validity state (it is almost always true)
+ bool isNeedToBeAborted() const { return myNeedToBeAborted; }
+
+ /// Call this function on launch of a nested operation
+ /// when transaction has to be reopened on resume of main operation
+ /// By default transaction is not reopened on resuming
+ void openTransactionOnResume() { myRestartTransactionOnResume = true; }
+