Interface for containerish objects which allow cut/copy/paste
Methods
|
|
|
|
_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,
)
|
|
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.
|
|
manage_copyObjects
|
manage_copyObjects (
self,
ids,
REQUEST=None,
RESPONSE=None,
)
Put a reference to the objects named in ids in the clip board
|
|
manage_cutObjects
|
manage_cutObjects (
self,
ids,
REQUEST=None,
)
Put a reference to the objects named in ids in the clip board
|
|
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.
|
|
manage_renameObject
|
manage_renameObject (
self,
id,
new_id,
REQUEST=None,
)
Rename a particular sub-object
|
|
manage_renameObjects
|
manage_renameObjects (
self,
ids,
new_ids,
REQUEST=None,
)
Rename several sub-objects
|
|