Changeset 31912 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/OAICollection.java
- Timestamp:
- 2017-08-21T18:03:37+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/OAICollection.java
r29265 r31912 150 150 // pass the xml node to the service for configuration 151 151 if (this.oai_service_rack.configure(oai_service_xml, extra_info)) { 152 153 // once we've configured the OAIPMH service, we can use the OAIPMH service to 154 // retrieve the earliest timestamp of the collection from the oai-inf db and 155 // overwrite Collection.earliestDatestamp with it. 156 long earliestTimestamp = this.oai_service_rack.getEarliestTimestamp(); 157 if(earliestTimestamp == -1) { 158 //this.earliestDatestamp = -1; 159 logger.warn("No OAI timestamp for collection " + this.cluster_name 160 + ". Falling back to using its earliestDatestamp from build config: " + this.earliestDatestamp); 161 } else { 162 this.earliestDatestamp = earliestTimestamp; // milliseconds 163 } 164 152 165 153 166 // find out the supported service types for this service module
Note:
See TracChangeset
for help on using the changeset viewer.