diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py
index 0ac911b4e2ea5c400a88433338f9dc2f73993587..a301d7cd3fa04ac7bdc0fae34681d709171e47b2 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.79 2002-07-29 23:30:14 richard Exp $
+# $Id: hyperdb.py,v 1.81 2002-08-30 08:37:16 richard Exp $
__doc__ = """
Hyperdatabase implementation, especially field types.
class Link:
"""An object designating a Link property that links to a
node in a specified class."""
- def __init__(self, classname, do_journal='no'):
+ def __init__(self, classname, do_journal='yes'):
''' Default is to not journal link and unlink events
'''
self.classname = classname
"do_journal" indicates whether the linked-to nodes should have
'link' and 'unlink' events placed in their journal
"""
- def __init__(self, classname, do_journal='no'):
+ def __init__(self, classname, do_journal='yes'):
''' Default is to not journal link and unlink events
'''
self.classname = classname
def __repr__(self):
'''Slightly more useful representation
'''
- return '<hypderdb.Class "%s">'%self.classname
+ return '<hyperdb.Class "%s">'%self.classname
# Editing nodes:
"""
raise NotImplementedError
+ def is_retired(self, nodeid):
+ '''Return true if the node is rerired
+ '''
+ raise NotImplementedError
+
def destroy(self, nodeid):
"""Destroy a node.
#
# $Log: not supported by cvs2svn $
+# Revision 1.80 2002/08/16 04:28:13 richard
+# added is_retired query to Class
+#
+# Revision 1.79 2002/07/29 23:30:14 richard
+# documentation reorg post-new-security
+#
# Revision 1.78 2002/07/21 03:26:37 richard
# Gordon, does this help?
#