- Timestamp:
- 2004-04-06T09:30:17+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/doctypes/DocumentList.java
r6697 r7190 102 102 103 103 /** 104 * Get a list of documents that match a 104 * Get a list of documents that match a given set of patterns, 105 * within a given URL node. 105 106 */ 106 107 public List findDocumentIdsUsingFiles(List fileRefs, String withinNode) … … 140 141 // Get the simple list of file objects & their file group reference 141 142 String query = "SELECT FileGroupRef FROM files WHERE FileLocation REGEXP \"" + fileRef +"\";"; 143 144 return this.findDocumentIdsUsingFileQuery(query); 145 } 146 147 public List findDocumentIdsUsingFileExact(String fileRef) 148 { 149 // Get the simple list of file objects & their file group reference 150 String query = "SELECT FileGroupRef FROM files WHERE FileLocation=\"" + fileRef +"\";"; 142 151 143 152 return this.findDocumentIdsUsingFileQuery(query);
Note:
See TracChangeset
for help on using the changeset viewer.