comparison roundup/hyperdb.py @ 1523:63aa7be52d2c

checked to make sure that the restored item doesn't clash... ...with a new item using the same key value
author Andrey Lebedev <kedder@users.sourceforge.net>
date Mon, 17 Mar 2003 22:03:08 +0000
parents 9ccd69fbe33e
children d2801a2b0a77 c4968040459e
comparison
equal deleted inserted replaced
1522:d20680d611a6 1523:63aa7be52d2c
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.86 2003-02-26 04:55:57 richard Exp $ 18 # $Id: hyperdb.py,v 1.87 2003-03-17 22:03:03 kedder Exp $
19 19
20 """ 20 """
21 Hyperdatabase implementation, especially field types. 21 Hyperdatabase implementation, especially field types.
22 """ 22 """
23 23
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 417 raise NotImplementedError
418 418
419 def restore(self, nodeid):
420 '''Restpre a retired node.
421
422 Make node available for all operations like it was before retirement.
423 '''
424 raise NotImplementedError
425
419 def is_retired(self, nodeid): 426 def is_retired(self, nodeid):
420 '''Return true if the node is rerired 427 '''Return true if the node is rerired
421 ''' 428 '''
422 raise NotImplementedError 429 raise NotImplementedError
423 430

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