comparison roundup/hyperdb.py @ 940:301a02ea6020

added is_retired query to Class
author Richard Jones <richard@users.sourceforge.net>
date Fri, 16 Aug 2002 04:28:13 +0000
parents 299f4890427d
children 07f88a837450
comparison
equal deleted inserted replaced
939:c67297b55a34 940:301a02ea6020
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: hyperdb.py,v 1.79 2002-07-29 23:30:14 richard Exp $ 18 # $Id: hyperdb.py,v 1.80 2002-08-16 04:28:13 richard Exp $
19 19
20 __doc__ = """ 20 __doc__ = """
21 Hyperdatabase implementation, especially field types. 21 Hyperdatabase implementation, especially field types.
22 """ 22 """
23 23
412 and the node's id is never reused. 412 and the node's id is never reused.
413 413
414 Retired nodes are not returned by the find(), list(), or lookup() 414 Retired nodes are not returned by the find(), list(), or lookup()
415 methods, and other nodes may reuse the values of their key properties. 415 methods, and other nodes may reuse the values of their key properties.
416 """ 416 """
417 raise NotImplementedError
418
419 def is_retired(self, nodeid):
420 '''Return true if the node is rerired
421 '''
417 raise NotImplementedError 422 raise NotImplementedError
418 423
419 def destroy(self, nodeid): 424 def destroy(self, nodeid):
420 """Destroy a node. 425 """Destroy a node.
421 426
602 cl.create(name=options[i], order=i) 607 cl.create(name=options[i], order=i)
603 return hyperdb.Link(name) 608 return hyperdb.Link(name)
604 609
605 # 610 #
606 # $Log: not supported by cvs2svn $ 611 # $Log: not supported by cvs2svn $
612 # Revision 1.79 2002/07/29 23:30:14 richard
613 # documentation reorg post-new-security
614 #
607 # Revision 1.78 2002/07/21 03:26:37 richard 615 # Revision 1.78 2002/07/21 03:26:37 richard
608 # Gordon, does this help? 616 # Gordon, does this help?
609 # 617 #
610 # Revision 1.77 2002/07/18 11:27:47 richard 618 # Revision 1.77 2002/07/18 11:27:47 richard
611 # ws 619 # ws

Roundup Issue Tracker: http://roundup-tracker.org/