public Collection<BacklogItem> allBacklogItemsScheduledFor(TenantId aTenantId, ReleaseId aReleaseId) {
List<BacklogItem> backlogItems = new ArrayList<BacklogItem>();
LevelDBKey releaseBacklogItems = new LevelDBKey(RELEASE_BACKLOG_ITEMS, aTenantId.id(), aReleaseId.id());
LevelDBUnitOfWork uow = LevelDBUnitOfWork.readOnly(this.database());
List<Object> keys = uow.readKeys(releaseBacklogItems);
for (Object backlogItemId : keys) {
BacklogItem backlogItem = uow.readObject(backlogItemId.toString().getBytes(), BacklogItem.class);
if (backlogItem != null) {
backlogItems.add(backlogItem);
}
}