Jens Vagelpohl wrote at 2008-8-16 11:45 +0200:
On Aug 16, 2008, at 11:06 , Dieter Maurer wrote:
The easiest way to determine the uid is probably
to locate the object via a catalog search. You will get a catalog
proxy
for the object, often also called brain.
This proxy has the method
Darryl Caldwell wrote at 2008-8-13 19:49 -0800:
...
I have looked at the source of Catalog.py but am still confused about
what parameters I need to uncatalog an object.
Is the uid the same as the object id?
No.
The uid that you must pass to uncatalog_object is the same
one that has been passed
On Aug 16, 2008, at 11:06 , Dieter Maurer wrote:
The easiest way to determine the uid is probably
to locate the object via a catalog search. You will get a catalog
proxy
for the object, often also called brain.
This proxy has the method getPath()
which returns the object's uid -- don't
I don't know how to uncatalog a brain but I do know how to uncatalog a
normal zope object::
# to uncatalog 'self'
path = '/'.join(self.getPhysicalPath())
self.MyCatalog.uncatalog_object(path)
# to uncatalog some other know object
path = '/'.join(self.some_object.getPhysicalPath())
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Darryl Caldwell wrote:
Hey folks,
I have looked at the source of Catalog.py but am still confused about
what parameters I need to uncatalog an object.
Is the uid the same as the object id? That which is returned from
obj.getId(), or is it the
Hey folks,
I have looked at the source of Catalog.py but am still confused about
what parameters I need to uncatalog an object.
Is the uid the same as the object id? That which is returned from
obj.getId(), or is it the same as the object Identifier listed on the
Catalog tab within the catalog?