Table of Contents

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

Interface for containerish objects which allow cut/copy/paste

Base Classes   
ExtensionClass.Base
Methods   
_delOb
_getOb
_get_id
_setOb
_verifyObjectPaste
cb_dataItems
cb_dataValid
manage_CopyContainerAllItems
manage_CopyContainerFirstItem
manage_clone
manage_copyObjects
manage_cutObjects
manage_pasteObjects
manage_renameObject
manage_renameObjects
  _delOb 
_delOb ( self,  id )

  _getOb 
_getOb (
        self,
        id,
        default=_marker,
        )

  _get_id 
_get_id ( self,  id )

  _setOb 
_setOb (
        self,
        id,
        object,
        )

The following three methods should be overridden to store sub-objects as non-attributes.

  _verifyObjectPaste 
_verifyObjectPaste (
        self,
        object,
        validate_src=1,
        )

Exceptions   
CopyError
  cb_dataItems 
cb_dataItems ( self )

  cb_dataValid 
cb_dataValid ( self )

  manage_CopyContainerAllItems 
manage_CopyContainerAllItems ( self,  REQUEST )

  manage_CopyContainerFirstItem 
manage_CopyContainerFirstItem ( self,  REQUEST )

  manage_clone 
manage_clone (
        self,
        ob,
        id,
        REQUEST=None,
        )

Why did we give this a manage_ prefix if its really supposed to be public since it does its own auth ?

Because it's still a "management" function.

Exceptions   
CopyError
  manage_copyObjects 
manage_copyObjects (
        self,
        ids,
        REQUEST=None,
        RESPONSE=None,
        )

Put a reference to the objects named in ids in the clip board

Exceptions   
CopyError
  manage_cutObjects 
manage_cutObjects (
        self,
        ids,
        REQUEST=None,
        )

Put a reference to the objects named in ids in the clip board

Exceptions   
CopyError
  manage_pasteObjects 
manage_pasteObjects (
        self,
        cb_copy_data=None,
        REQUEST=None,
        )

Paste previously copied objects into the current object. If calling manage_pasteObjects from python code, pass the result of a previous call to manage_cutObjects or manage_copyObjects as the first argument.

Exceptions   
CopyError
  manage_renameObject 
manage_renameObject (
        self,
        id,
        new_id,
        REQUEST=None,
        )

Rename a particular sub-object

Exceptions   
CopyError
  manage_renameObjects 
manage_renameObjects (
        self,
        ids,
        new_ids,
        REQUEST=None,
        )

Rename several sub-objects

Exceptions   
'BadRequst'

Table of Contents

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