Revision 1474
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/SubTree.java | ||
---|---|---|
41 | 41 |
/** Set the a subtreeId */ |
42 | 42 |
public void setSubTreeId(String myId) |
43 | 43 |
{ |
44 |
MetaCatUtil.debugMessage("set sub tree id: "+myId); |
|
44 |
MetaCatUtil.debugMessage("set sub tree id: "+myId, 35);
|
|
45 | 45 |
this.subTreeId = myId; |
46 | 46 |
} |
47 | 47 |
|
... | ... | |
56 | 56 |
*/ |
57 | 57 |
public void setStartElementName(String elementName) |
58 | 58 |
{ |
59 |
MetaCatUtil.debugMessage("set start elementname: "+elementName); |
|
59 |
MetaCatUtil.debugMessage("set start elementname: "+elementName, 35);
|
|
60 | 60 |
this.startElementName = elementName; |
61 | 61 |
} |
62 | 62 |
|
... | ... | |
71 | 71 |
/** Set a start node id */ |
72 | 72 |
public void setStartNodeId(long nodeId) |
73 | 73 |
{ |
74 |
MetaCatUtil.debugMessage("set start node id: "+nodeId); |
|
74 |
MetaCatUtil.debugMessage("set start node id: "+nodeId, 35);
|
|
75 | 75 |
this.startNodeId = nodeId; |
76 | 76 |
} |
77 | 77 |
|
... | ... | |
84 | 84 |
/** Set a end node id */ |
85 | 85 |
public void setEndNodeId(long nodeId) |
86 | 86 |
{ |
87 |
MetaCatUtil.debugMessage("set end node id: "+nodeId); |
|
87 |
MetaCatUtil.debugMessage("set end node id: "+nodeId, 35);
|
|
88 | 88 |
this.endNodeId = nodeId; |
89 | 89 |
} |
90 | 90 |
|
src/edu/ucsb/nceas/metacat/PermissionController.java | ||
---|---|---|
83 | 83 |
while (rs.next()) // |
84 | 84 |
{ |
85 | 85 |
String subTreeId = rs.getString(1); |
86 |
MetaCatUtil.debugMessage("subtreeid: "+subTreeId, 25);
|
|
86 |
MetaCatUtil.debugMessage("subtreeid: "+subTreeId, 35);
|
|
87 | 87 |
long startNodeId = rs.getLong(2); |
88 |
MetaCatUtil.debugMessage("subtree startNodeId: "+startNodeId, 25);
|
|
88 |
MetaCatUtil.debugMessage("subtree startNodeId: "+startNodeId, 35);
|
|
89 | 89 |
long endNodeId = rs.getLong(3); |
90 |
MetaCatUtil.debugMessage("subtree endNodeId: "+endNodeId, 25);
|
|
90 |
MetaCatUtil.debugMessage("subtree endNodeId: "+endNodeId, 35);
|
|
91 | 91 |
// if startnodeid field in table is empty,startNodeId will be 0 |
92 | 92 |
if (subTreeId != null && startNodeId != 0 && startNodeId != 0) |
93 | 93 |
{ |
Also available in: Unified diff
Change the debug level.