LPS-48895 expose groupId from interface
LPS-48895 wire in the BulkOperationCapability
LPS-48895 call the sync capability explicitly

We could have attached the call to the `destroy()` capability method to
the (Delete, LocalRepository) event, but in general, we don't want bulk
operations to be executed that way.

Potentially, more than one capability could execute a bulk operation as
part of any event, leading to terrible performance (each bulk execution
would retrieve the whole repository from db page by page). To solve this
problem, we are planning to allow repositories to register, along even
listeners, repository operations to execute when an event is
triggered. This way, the repository would be able to combine all
operations into one and traverse the repository elements only once.

Also, we will probably make bulk operations asynchronous, as they could
potentially take some time to finish.
LPS-48895 test sync behaviour when deleting repository
LPS-48895 autogenerated