class DockerRegistryEventService implements EntityEventService {

    @Override
    public void updateEventsWithChildrenAndIssues(final Long id) {
        eventManager.addUpdateEventsForIssues(id, AclClass.DOCKER_REGISTRY);

        eventManager.addUpdateEvent(EventObjectType.DOCKER_REGISTRY.name().toLowerCase(), id);
        ListUtils.emptyIfNull(toolGroupManager.loadByRegistryId(id))
                .forEach(toolGroup -> toolGroupEventService.updateEventsWithChildrenAndIssues(toolGroup.getId()));
    }

}