Table of Contents

Class: EntityDM ./src/peak/storage/data_managers.py
Base Classes   
QueryDM
    TransactionComponent
Methods   
_check
_defaultState
_delete_oids
_new
_save
_thunk
abortTransaction
add
commitTransaction
flush
newItem
oidFor
readyToVote
register
remove
voteForCommit
  _check 
_check ( self,  ob )

Override this to raise an error if ob is unsuitable for storing

  _defaultState 
_defaultState ( self,  ob )

  _delete_oids 
_delete_oids ( self,  oidList )

Exceptions   
NotImplementedError
  _new 
_new ( self,  ob )

Exceptions   
NotImplementedError
  _save 
_save ( self,  ob )

Exceptions   
NotImplementedError
  _thunk 
_thunk ( self,  ob )

Exceptions   
NotImplementedError
  abortTransaction 
abortTransaction ( self,  txnService )

  add 
add ( self,  ob )

Exceptions   
InvalidKeyError( "Duplicate key", ob._p_oid )
TypeError( "Not a persistent object", ob )
ValueError( "Already in another DM", ob, ob._p_jar )
  commitTransaction 
commitTransaction ( self,  txnService )

  flush 
flush ( self,  ob=None )

  newItem 
newItem ( self,  klass=None )

Exceptions   
NotImplementedError
  oidFor 
oidFor ( self,  ob )

  readyToVote 
readyToVote ( self,  txnService )

  register 
register ( self,  ob )

  remove 
remove ( self,  ob )

Exceptions   
ValueError( "Doesn't belong to this DM", ob, ob._p_jar )
  voteForCommit 
voteForCommit ( self,  txnService )


Table of Contents

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