public TimelineResult getEvents( Set<String> types, Set<String> subtypes, Integer from, Integer count, TimelineFilter filter) { int cnt = count != null ? count : DEFAULT_PAGE_SIZE; if (from != null) { return nexusTimeline.retrieve(from, cnt, types, subtypes, filter); } else { return nexusTimeline.retrieve(0, cnt, types, subtypes, filter); } }