At the moment, either we have the BulkLifeCycleChangeListener and all lifecycle change recurse in folders, or we don't.
We should be able to desactivate the recursion by passing context data in the doc before the lifecycle change:
client code:
doc.putContextData("NON_RECURSIVE_LIFECYCLE_KEY", true);
doc.followTransition("mytrans")
in BulkLifeCycleChangeListener, check for the data, and if explicitely true then return before recursing