[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_types.py:1.13.24.1
Yvo Schubbe
schubbe@web.de
Tue, 24 Jun 2003 15:07:32 -0400
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv24823/CMFCore/interfaces
Modified Files:
Tag: yuppie-ti_aliases-branch
portal_types.py
Log Message:
- refactored api
- added migration method
- added interface definitions
=== CMF/CMFCore/interfaces/portal_types.py 1.13 => 1.13.24.1 ===
--- CMF/CMFCore/interfaces/portal_types.py:1.13 Mon Jan 6 15:39:46 2003
+++ CMF/CMFCore/interfaces/portal_types.py Tue Jun 24 15:07:01 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.