use of org.mycore.datamodel.ifs2.MCRObjectIDFileSystemDate in project mycore by MyCoRe-Org.
the class MCRXMLMetadataManager method retrieveObjectDates.
/**
* returns an enhanced list of object ids and their last modified date
* @param ids MCRObject ids
* @throws IOException thrown by {@link MCRObjectIDFileSystemDate}
*/
public List<MCRObjectIDDate> retrieveObjectDates(List<String> ids) throws IOException {
List<MCRObjectIDDate> objidlist = new ArrayList<>(ids.size());
for (String id : ids) {
MCRStoredMetadata sm = this.retrieveStoredMetadata(MCRObjectID.getInstance(id));
objidlist.add(new MCRObjectIDFileSystemDate(sm, id));
}
return objidlist;
}
Aggregations