Revision 6744
Added by ben leinfelder over 12 years ago
XMLAccessDAO.java | ||
---|---|---|
39 | 39 |
*/ |
40 | 40 |
public class XMLAccessDAO extends BaseDAO { |
41 | 41 |
|
42 |
private String _docId = null; |
|
43 | 42 |
private String _guid = null; |
44 | 43 |
private String _accessFileId = null; |
45 | 44 |
private String _principalName = null; |
... | ... | |
52 | 51 |
private String _subTreeId = null; |
53 | 52 |
private String _startNodeId = null; |
54 | 53 |
private String _endNodeId = null; |
55 |
|
|
56 |
public String getDocId() { |
|
57 |
return _docId; |
|
58 |
} |
|
59 | 54 |
|
60 |
public void setDocId(String docId) { |
|
61 |
if (docId != null && docId.equals("")) { |
|
62 |
docId = null; |
|
63 |
} else { |
|
64 |
_docId = docId; |
|
65 |
} |
|
66 |
} |
|
67 |
|
|
68 | 55 |
public String getGuid() { |
69 | 56 |
return _guid; |
70 | 57 |
} |
Also available in: Unified diff
refactor Metacat access handling to be on a per-revision basis so that it more closely aligns with the DataONE approach
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560