Iterator<Cursor> it = repository.getCursors(fromStream);
// Loop over all events for that stream
for (;it.hasNext();)
{
Cursor cursor = it.next();
EventBean lookupEvent = cursor.getTheEvent();
int streamCount = 0;
// For that event, lookup in all required streams
while (streamCount < requiredSubStreams.length)
{