Methods
|
|
|
|
_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 )
|
|
_new
|
_new ( self, ob )
|
|
_save
|
_save ( self, ob )
|
|
_thunk
|
_thunk ( self, ob )
|
|
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 )
|
|
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 )
|