Methods/attrs that must/may be redefined in a QueryDM subclass
Methods
|
|
_ghost
_load
|
|
_ghost
|
_ghost ( oid, state=None )
Return a ghost of appropriate class, based on oid and state
Note that state should be loaded into the returned object via its
__setstate__() method. If state is None , the returned object's
_p_deactivate() method will be called instead (by __getitem__).
|
|
_load
|
_load ( oid, ob )
Load & return the state for oid , suitable for __setstate__()
Raise storage.InvalidKeyError if oid is not found in the db.
|
|