Logo Search packages:      
Sourcecode: zope-extfile version File versions

def zope-extfile-1.4.2::ExtFile::ExtFile::manage_afterAdd (   self,
  item,
  container 
)

This method is called, whenever _setObject in ObjectManager gets 
    called. This is the case after a normal add and if the object is a 
    result of cut-paste- or rename-operation. In the first case, the
    external files doesn't exist yet, otherwise it was renamed to .undo
    by manage_beforeDelete before and must be restored by _undo().

Definition at line 868 of file ExtFile.py.

00868                                               :
        """ This method is called, whenever _setObject in ObjectManager gets 
            called. This is the case after a normal add and if the object is a 
            result of cut-paste- or rename-operation. In the first case, the
            external files doesn't exist yet, otherwise it was renamed to .undo
            by manage_beforeDelete before and must be restored by _undo().
        """
        self._undo()
        if hasattr(self, "_v_has_been_cloned"):
            delattr(self, "_v_has_been_cloned")
            self.manage_afterClone(item)
        return ExtFile.inheritedAttribute("manage_afterAdd")(self, item, container)
    
    security.declarePrivate('manage_beforeDelete')
    def manage_beforeDelete(self, item, container):


Generated by  Doxygen 1.6.0   Back to index