Revision 1576
Added by Jing Tao over 21 years ago
src/edu/ucsb/nceas/metacat/EmlSAXHandler.java | ||
---|---|---|
1311 | 1311 |
//write access section into xml_access table |
1312 | 1312 |
writeGivenAccessRuleIntoDB(accessSectionObj, top, subSectionId); |
1313 | 1313 |
// write relative online data file into xml_access too. |
1314 |
for (int i= 0; i<onlineDataFileIdVector.size(); i++) |
|
1314 |
/*for (int i= 0; i<onlineDataFileIdVector.size(); i++)
|
|
1315 | 1315 |
{ |
1316 | 1316 |
String id = (String)onlineDataFileIdVector.elementAt(i); |
1317 | 1317 |
writeAccessRuleForRalatedDataFileIntoDB(accessSectionObj, id); |
1318 |
} |
|
1318 |
}*/
|
|
1319 | 1319 |
|
1320 | 1320 |
} |
1321 | 1321 |
else |
... | ... | |
1361 | 1361 |
// write accessobject into db |
1362 | 1362 |
writeGivenAccessRuleIntoDB(accessObj, top, subSectionId); |
1363 | 1363 |
// add access rule for related on line data id too. |
1364 |
for (int j= 0; j<onlineDataFileIdVector.size(); j++) |
|
1364 |
/*for (int j= 0; j<onlineDataFileIdVector.size(); j++)
|
|
1365 | 1365 |
{ |
1366 | 1366 |
String id = (String)onlineDataFileIdVector.elementAt(j); |
1367 | 1367 |
writeAccessRuleForRalatedDataFileIntoDB(accessObj, id); |
1368 |
} |
|
1368 |
}*/
|
|
1369 | 1369 |
|
1370 | 1370 |
|
1371 | 1371 |
//write the reference access into xml_accesssubtree too |
Also available in: Unified diff
Don't apply access rule for online data file.