class RuleFlowGroupDataService {

    void fireData() {
        final RuleFlowGroup[] groupNames = getRuleFlowGroupNames().toArray(new RuleFlowGroup[0]);
        dataChangedEvent.fire(new RuleFlowGroupDataEvent(groupNames));
    }

    @Inject public  RuleFlowGroupDataService(final RuleFlowGroupQueryService queryService,
                                    final Event<RuleFlowGroupDataEvent> dataChangedEvent);

}