summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc12472)
raw | patch | inline | side by side (parent: bc12472)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Jul 2002 03:26:37 +0000 (03:26 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 21 Jul 2002 03:26:37 +0000 (03:26 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@906 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/hyperdb.py | patch | blob | history |
diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index 1a95a322ae30ab87e50983f91f496243d8e4d1ee..71285a6cb0e01056be52285ff25b9006b7b83362 100644 (file)
--- a/roundup/hyperdb.py
+++ b/roundup/hyperdb.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: hyperdb.py,v 1.77 2002-07-18 11:27:47 richard Exp $
+# $Id: hyperdb.py,v 1.78 2002-07-21 03:26:37 richard Exp $
__doc__ = """
Hyperdatabase implementation, especially field types.
"""
raise NotImplementedError
+ def destroy(self, nodeid):
+ """Destroy a node.
+
+ WARNING: this method should never be used except in extremely rare
+ situations where there could never be links to the node being
+ deleted
+ WARNING: use retire() instead
+ WARNING: the properties of this node will not be available ever again
+ WARNING: really, use retire() instead
+
+ Well, I think that's enough warnings. This method exists mostly to
+ support the session storage of the cgi interface.
+
+ The node is completely removed from the hyperdb, including all journal
+ entries. It will no longer be available, and will generally break code
+ if there are any references to the node.
+ """
+
def history(self, nodeid):
"""Retrieve the journal of edits on a particular node.
#
# $Log: not supported by cvs2svn $
+# Revision 1.77 2002/07/18 11:27:47 richard
+# ws
+#
# Revision 1.76 2002/07/18 11:17:30 gmcm
# Add Number and Boolean types to hyperdb.
# Add conversion cases to web, mail & admin interfaces.