Re: [Zope3-Users] Copying Objects from/in the ZODB
On Mon, Jul 28, 2008 at 1:38 AM, Thierry Florac <[EMAIL PROTECTED]> wrote: > Le dimanche 27 juillet 2008 à 15:15 -0300, Tim Cook a écrit : >> 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. > Have a look at "zope.copypastemove" package interfaces and classes ; > they should provide the simple functions you are looking for... Also check out zc.copy (README at http://svn.zope.org/zc.copy/trunk/src/zc/copy/README.txt?rev=77433&view=markup) if you need to customize the copying operation. -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Copying Objects from/in the ZODB
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. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Copying Objects from/in the ZODB
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? Thanks, Tim -- ** Join the OSHIP project. It is the standards based, open source healthcare application platform in Python. Home page: https://launchpad.net/oship/ Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page ** signature.asc Description: This is a digitally signed message part ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users