Table of Contents

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

Additional methods needed for writing objects in an EntityDM

Base Classes   
IDataManager_SPI
    Interface
Methods   
_check
_defaultState
_delete_oids
_new
_save
_thunk
  _check 
_check ( ob )

Raise TypeError if ob is unsuitable for storing in this DM

  _defaultState 
_defaultState ( ob )

Return a default __setstate__() state for a new ob

  _delete_oids 
_delete_oids ( self,  oidList )

Delete items listed in oidList from underlying storage

  _new 
_new ( ob )

Create ob in underlying storage and return its new oid

  _save 
_save ( ob )

Save ob to underlying storage

  _thunk 
_thunk ( ob )

Hook for implementing cross-database "thunk" references


Table of Contents

This document was automatically generated on Mon Apr 15 01:11:04 2024 by HappyDoc version 2.1