Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • open - this is the default: it means that no commits will be issued by the framework
  • object - this means that after each 'perform()' is called, the framework will call 'context.commit()'.
  • curation - this means that after the entire curation (iterating perhaps over a container, and involving possibly multiple tasks), the framework will commit the transaction

As with the cache management, there is a new switch in CurationCli that allows you to set a scope for a command-line task invocation. It is:
'-s <scope>' where scope can be one of "open", "object" or "curation". This will cause setTransactionScope(scope) to be called on the Curation object.

Note that the same caveats/restrictions apply as for the context cache method:

...