Table of Contents

Class: IDataManager_SPI ./src/peak/storage/interfaces.py

Methods/attrs that must/may be redefined in a QueryDM subclass

Base Classes   
Interface
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.


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:05 2024 by HappyDoc version 2.1