Repository.getRootHome() and multitenancy
there is repositoryHelper bean, with org.alfresco.repo.model.Repository class, used in several places, including patches. Repository .getRootHome() is used as a starting point for the search, for example ActivitiesTemplatesUpdatePatch.getBaseTemplate...