[Zope-CMF] manage_afterAdd
Mark McEahern
mark@mceahern.com
Tue, 7 Jan 2003 12:46:25 -0600
I'm writing a portal type, subclassed from PortalContent and
DefaultDublinCoreImpl. I'm overriding manage_afterAdd in order to validate
the instance's id (it must look like a date). Do I need to explicitly set
the security on this method? Is it implicitly private?
security.declarePrivate('manage_afterAdd')
def manage_afterAdd(self, item, container):
self._validate_id(item.getId())
Similarly, are methods that begin with _ implicitly declared/treated as
private?
Thanks,
// mark
-