[Zope-CMF] IIndexableObjectWrapper
Jens Vagelpohl
jens at dataflake.org
Sun Apr 5 07:27:23 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 5, 2009, at 12:14 , Martin Aspeli wrote:
> Hi,
>
> Plone 3.3's IIndexableObjectWrapper implementation (in plone.indexer)
> has a method _getWrappedObject(), to return the object that was
> wrapped
> by the indexable object wrapper. It is (or rather, will be) used by
> TextIndexNG3, which needs to access the raw object during indexing.
>
> Any objections to pushing this down into CMFCore's definition of that
> interface?
A method name starting with an underscore is presumably a "private"
method with restricted use by the internal implementation. I would at
least rename it to something without underscore before putting it into
the interface.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAknYlZsACgkQRAx5nvEhZLJJ+wCdET6ALpOqhnySeR2kmMPTa71H
Vq8AoKxcUx7HfQPgv5CQh8kLWghU+n/6
=L3qs
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list