Table of Contents

Class: CopySource Zope-2.2.1-src/lib/python/OFS/CopySupport.py

Interface for objects which allow themselves to be copied.

Methods   
_canCopy
_getCopy
_notifyOfCopyTo
_postCopy
_setId
cb_isCopyable
cb_isMoveable
  _canCopy 
_canCopy ( self,  op=0 )

Called to make sure this object is copyable. The op var is 0 for a copy, 1 for a move.

  _getCopy 
_getCopy ( self,  container )

  _notifyOfCopyTo 
_notifyOfCopyTo (
        self,
        container,
        op=0,
        )

Overide this to be pickly about where you go! If you dont want to go there, raise an exception. The op variable is 0 for a copy, 1 for a move.

  _postCopy 
_postCopy (
        self,
        container,
        op=0,
        )

  _setId 
_setId ( self,  id )

  cb_isCopyable 
cb_isCopyable ( self )

  cb_isMoveable 
cb_isMoveable ( self )


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6