[CMF-checkins] CVS: CMF/CMFCore/interfaces - DublinCore.py:1.6

Yvo Schubbe schubbe at web.de
Tue Dec 23 16:47:54 EST 2003


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv21105/CMFCore/interfaces

Modified Files:
	DublinCore.py 
Log Message:
Merged yuppie-collector025-branch:
- Creator element no longer depends on Ownership. (Collector #25)
- TypeInfo's _finishConstruction() now calls reindexObject().
- Removed WorkflowMethod wrapper of Document.setFormat().


=== CMF/CMFCore/interfaces/DublinCore.py 1.5 => 1.6 ===
--- CMF/CMFCore/interfaces/DublinCore.py:1.5	Mon Dec 15 11:20:21 2003
+++ CMF/CMFCore/interfaces/DublinCore.py	Tue Dec 23 16:47:23 2003
@@ -34,10 +34,21 @@
         Returns -- String
         """
 
+    def listCreators():
+        """ List Dublin Core Creator elements - resource authors.
+
+        Depending on the implementation, this returns the full name(s) of the
+        author(s) of the content object or their ids.
+
+        Permission -- View
+
+        Returns -- Sequence of strings
+        """
+
     def Creator():
-        """ Dublin Core Creator element - resource creator.
+        """ Dublin Core Creator element - resource author.
 
-        Return the full name(s) of the author(s) of the content object.
+        The first Dublin Core Creator element or an empty string.
 
         Permission -- View
 
@@ -75,7 +86,7 @@
         Returns -- String
         """
 
-    def Contributors():
+    def listContributors():
         """ Dublin Core Contributor elements - resource collaborators.
 
         Return zero or additional collaborators.
@@ -83,6 +94,12 @@
         Permission -- View
 
         Returns -- Sequence of strings
+        """
+
+    def Contributors():
+        """ Deprecated alias of listContributors.
+
+        'initial caps' names are reserved for strings.
         """
 
     def Date():




More information about the CMF-checkins mailing list