[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_types.py:1.14
Yvo Schubbe
schubbe@web.de
Sat, 28 Jun 2003 12:31:51 -0400
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv21800/CMFCore/interfaces
Modified Files:
portal_types.py
Log Message:
Merged yuppie-ti_aliases-branch:
- Added Method Aliases to TypeInformation.
- Added __before_publishing_traverse__ to DynamicType.
- Made PortalFolder's 'mkdir' hook an alias.
=== CMF/CMFCore/interfaces/portal_types.py 1.13 => 1.14 ===
--- CMF/CMFCore/interfaces/portal_types.py:1.13 Mon Jan 6 15:39:46 2003
+++ CMF/CMFCore/interfaces/portal_types.py Sat Jun 28 12:31:20 2003
@@ -80,6 +80,39 @@
Returns the portal-relative icon for this type.
"""
+ def getMethodAliases():
+ """ Get method aliases dict.
+
+ Permission -- Manage portal
+
+ Returns -- Dictionary
+ """
+
+ def setMethodAliases(aliases):
+ """ Set method aliases dict.
+
+ Permission -- Manage portal
+
+ Returns -- Boolean value
+ """
+
+ def getMethodPath(key):
+ """ Get reverse relative method path by alias.
+
+ Permission -- Always available
+
+ Returns -- Tuple of IDs
+ """
+
+ def getMethodURL(key):
+ """ Get relative method URL by alias.
+
+ Permission -- Always available
+
+ Returns -- Slash-separated string
+ """
+
+
class portal_types(Interface):
"""
Provides a configurable registry of portal content types.