Package OFS :: Module CopySupport :: Class CopyContainer
[show private | hide private]
[frames | no frames]

Type CopyContainer

object --+    
         |    
      Base --+
             |
            CopyContainer

Known Subclasses:
ObjectManager, RelCopyContainer, RelCopyContainer

Interface for containerish objects which allow cut/copy/paste
Method Summary
  cb_dataItems(self)
  cb_dataValid(self)
  manage_clone(self, ob, id, REQUEST)
  manage_CopyContainerAllItems(self, REQUEST)
  manage_CopyContainerFirstItem(self, REQUEST)
  manage_copyObjects(self, ids, REQUEST, RESPONSE)
Put a reference to the objects named in ids in the clip board
  manage_cutObjects(self, ids, REQUEST)
Put a reference to the objects named in ids in the clip board
  manage_pasteObjects(self, cb_copy_data, REQUEST)
Paste previously copied objects into the current object.
  manage_renameObject(self, id, new_id, REQUEST)
Rename a particular sub-object
  manage_renameObjects(self, ids, new_ids, REQUEST)
Rename several sub-objects
  validClipData(self)
Inherited from Base: __getattribute__, __getnewargs__, __getstate__, __new__, __reduce__, __setstate__
Inherited from object: __init__, __delattr__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('View management screens', ('mana...
Implements __implemented__ = <implementedBy OFS.CopySupport.CopyCon...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType manage_clone__roles__ = None                                                                  
tuple manage_CopyContainerAllItems__roles__ = ('Manager',)
tuple manage_CopyContainerFirstItem__roles__ = ('Manager',)
PermissionRole manage_copyObjects__roles__ = <PermissionRole object at ...
PermissionRole manage_cutObjects__roles__ = <PermissionRole object at 0...
PermissionRole manage_pasteObjects__roles__ = <PermissionRole object at...
DTMLFile manage_renameForm = <App.special_dtml.DTMLFile object at...
PermissionRole manage_renameForm__roles__ = <PermissionRole object at 0...
PermissionRole manage_renameObject__roles__ = <PermissionRole object at...
PermissionRole manage_renameObjects__roles__ = <PermissionRole object a...

Method Details

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

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

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

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

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.

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

Rename a particular sub-object

manage_renameObjects(self, ids=[], new_ids=[], REQUEST=None)

Rename several sub-objects

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('View management screens',
  ('manage_copyObjects',
   'manage_pasteObjects',
   'manage_renameForm',
   'manage_renameObject',
   'manage_renameObjects')),
 ('Delete objects', ('manage_cutObjects',)))                           

__implemented__

Type:
Implements
Value:
<implementedBy OFS.CopySupport.CopyContainer>                          

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x15ad090>        

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x15ad090>        

manage_clone__roles__

Type:
NoneType
Value:
None                                                                  

manage_CopyContainerAllItems__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_CopyContainerFirstItem__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_copyObjects__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfd88>                                      

manage_cutObjects__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfdb8>                                      

manage_pasteObjects__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfd88>                                      

manage_renameForm

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x14946d0>                        

manage_renameForm__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfd88>                                      

manage_renameObject__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfd88>                                      

manage_renameObjects__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xfd88>                                      

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net