use of org.ext.uberfire.social.activities.service.SocialAdapter in project kie-wb-common by kiegroup.
the class SocialTimelineRulesQuery method getAllCached.
@Override
public List<SocialActivitiesEvent> getAllCached() {
List<SocialActivitiesEvent> events = new ArrayList<>();
Map<Class, SocialAdapter> socialAdapters = socialAdapterRepositoryAPI.getSocialAdapters();
for (SocialAdapter adapter : socialAdapters.values()) {
events.addAll(socialTimeLineRepositoryAPI.getLastEventTimeline(adapter, new HashMap()));
}
return events;
}
Aggregations