[Zope3-Users] Copying Objects from/in the ZODB
Thierry Florac
tflorac at ulthar.net
Mon Jul 28 01:38:56 EDT 2008
Le dimanche 27 juillet 2008 à 15:15 -0300, Tim Cook a écrit :
> Hi All,
>
> Another basic question but I can't seem to find the easy way to do this.
>
>
> I have a group of instances stored in the ZODB. They are basically
> skeletons that I want to copy, edit and store as new instances elsewhere
> in the ZODB. In Zope2.x this was fairly obvious to me. Using the ZCA
> it isn't so obvious. Is there a class I should be inheriting from to do
> this or do I need to provide a copy method in the class itself?
>
> If the later; are there any good examples?
Hi,
Have a look at "zope.copypastemove" package interfaces and classes ;
they should provide the simple functions you are looking for...
Thierry
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Zope3-users
mailing list