class ToolGroupEventService implements EntityEventService {

    @Override
    public void updateEventsWithChildrenAndIssues(final Long id) {
        eventManager.addUpdateEvent(EventObjectType.TOOL_GROUP.name().toLowerCase(), id);
        eventManager.addUpdateEventsForIssues(id, AclClass.TOOL_GROUP);
        ListUtils.emptyIfNull(toolManager.loadToolsByGroup(id))
                .forEach(tool -> toolEventService.updateEventsWithChildrenAndIssues(tool.getId()));
    }

}