Changeset 8861
- Timestamp:
- 2004-12-17T17:11:46+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/doctypes/DocumentList.java
r8742 r8861 321 321 // set the document identifier, if not already set 322 322 if (document.getID() == null) { 323 System.out.println("Posting new docu ment ID");323 System.out.println("Posting new docuument ID"); 324 324 DocumentID id = this.idFactory.getNewDocumentID(document); 325 325 document.setID(id); … … 390 390 * @param <code>The date of the new build cycle</code> 391 391 */ 392 public void updateTimestamps( java.util.Date time)392 public void updateTimestamps(long buildTimeStamp) 393 393 { Iterator documents = this.iterator(); 394 394 int item = 0; … … 403 403 System.out.println("Updating timestamps " + thisTimeStamp + " " + lastTimeStamp); 404 404 405 DocumentSQLWriter.touchDocument(document.getID(), this.connection, time.getTime(), thisTimeStamp);405 DocumentSQLWriter.touchDocument(document.getID(), this.connection, buildTimeStamp, thisTimeStamp); 406 406 } 407 407 }
Note:
See TracChangeset
for help on using the changeset viewer.