Revision 6108
Added by ben leinfelder almost 13 years ago
XMLAccessAccess.java | ||
---|---|---|
30 | 30 |
import java.sql.PreparedStatement; |
31 | 31 |
import java.sql.ResultSet; |
32 | 32 |
import java.sql.SQLException; |
33 |
import java.util.List; |
|
33 | 34 |
import java.util.Vector; |
34 | 35 |
|
35 | 36 |
import org.apache.log4j.Logger; |
... | ... | |
314 | 315 |
* @param xmlAccessList |
315 | 316 |
* list of xml access dao objects that hold new access for the document |
316 | 317 |
*/ |
317 |
public void replaceAccess(String docId, Vector<XMLAccessDAO> xmlAccessList) throws AccessException {
|
|
318 |
public void replaceAccess(String docId, List<XMLAccessDAO> xmlAccessList) throws AccessException {
|
|
318 | 319 |
deleteXMLAccessForDoc(docId); |
319 | 320 |
|
320 | 321 |
// if more than one record exists for this principal on this document with the same |
Also available in: Unified diff
read and write D1 access policy rules from metacat xml_access table.
still TBD: which mechanism takes precedence when there are systemMetadata access rules and EML access rules and other access rules?