oifd.setObject(objectData);
folderList.add(oifd);
// add additional information for Atom
if (objectInfos != null) {
ObjectInfoImpl objectInfo = new ObjectInfoImpl();
fAtomLinkProvider.fillInformationForAtomLinks(repositoryId, spo, objectInfo);
objectInfos.addObjectInfo(objectInfo);
}
}
result.setObjects(folderList);
result.setNumItems(BigInteger.valueOf(folderList.size()));
if (objectInfos != null) {
ObjectInfoImpl objectInfo = new ObjectInfoImpl();
fAtomLinkProvider.fillInformationForAtomLinks(repositoryId, so, objectInfo);
objectInfos.addObjectInfo(objectInfo);
}
return result;
}