Revision 4212
Added by daigle over 15 years ago
RemoteDocument.java | ||
---|---|---|
92 | 92 |
userName = myUserName; |
93 | 93 |
passWord = myPassWord; |
94 | 94 |
zipEntry = myZipEntryPath+ docIdWithoutRevision + |
95 |
PropertyService.getProperty("accNumSeparator") + revision; |
|
95 |
PropertyService.getProperty("document.accNumSeparator") + revision;
|
|
96 | 96 |
|
97 | 97 |
|
98 | 98 |
}// Constructor |
... | ... | |
207 | 207 |
throw new Exception ("Couldn't find a dataset docid for the required id"); |
208 | 208 |
} |
209 | 209 |
// Create a documentImpl object |
210 |
String accNumber = givenDocId + PropertyService.getProperty("accNumSeparator") + |
|
210 |
String accNumber = givenDocId + PropertyService.getProperty("document.accNumSeparator") +
|
|
211 | 211 |
DBUtil.getLatestRevisionInDocumentTable(givenDocId); |
212 | 212 |
document = new DocumentImpl(accNumber, false); |
213 | 213 |
// get the replication home server (it come from xml_replication table) |
... | ... | |
295 | 295 |
} |
296 | 296 |
// User specified docid (including revision number |
297 | 297 |
String specifiedDocId = docIdWithoutRevision + |
298 |
PropertyService.getProperty("accNumSeparator") +revision; |
|
298 |
PropertyService.getProperty("document.accNumSeparator") +revision;
|
|
299 | 299 |
logMetacat.info("The requried docid is: "+ specifiedDocId); |
300 | 300 |
|
301 | 301 |
// At first login to remote metacat server. |
... | ... | |
366 | 366 |
} |
367 | 367 |
// User specified docid (including revision number |
368 | 368 |
String specifiedDocId = docIdWithoutRevision + |
369 |
PropertyService.getProperty("accNumSeparator") +revision; |
|
369 |
PropertyService.getProperty("document.accNumSeparator") +revision;
|
|
370 | 370 |
logMetacat.info("The requried docid is: "+ specifiedDocId); |
371 | 371 |
|
372 | 372 |
// At first login to remote metacat server. |
Also available in: Unified diff
Continue to qualify property names