[CalendarServer-changes] [4921] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 13 13:11:05 PST 2010


Revision: 4921
          http://trac.macosforge.org/projects/calendarserver/changeset/4921
Author:   wsanchez at apple.com
Date:     2010-01-13 13:11:04 -0800 (Wed, 13 Jan 2010)
Log Message:
-----------
More data store interfaces

Modified Paths:
--------------
    CalendarServer/trunk/txcaldav/icalendarstore.py
    CalendarServer/trunk/txcarddav/iaddressbookstore.py

Modified: CalendarServer/trunk/txcaldav/icalendarstore.py
===================================================================
--- CalendarServer/trunk/txcaldav/icalendarstore.py	2010-01-12 20:56:31 UTC (rev 4920)
+++ CalendarServer/trunk/txcaldav/icalendarstore.py	2010-01-13 21:11:04 UTC (rev 4921)
@@ -61,6 +61,14 @@
     """
     Calendar
     """
+    def ownerCalendarHome(self):
+        """
+        Retrieve the calendar home for the owner of this calendar.
+        Calendars may be shared from one (the owner's) calendar home
+        to other (the sharee's) calendar homes.
+        @return: an L{ICalendarHome}.
+        """
+
     def calendarObjects(self):
         """
         Retrieve the calendar objects contained in this calendar.
@@ -89,6 +97,14 @@
         @return: a string containing a sync token.
         """
 
+#    def calendarObjectsInTimeRange(self, start, end, timeZone):
+#        """
+#        Retrieve all calendar objects in this calendar which have
+#        instances that occur within the time range that begins at
+#        C{start} and ends at C{end}.
+#        @return: an iterable of L{ICalendarObject}s.
+#        """
+
     def calendarObjectsSinceToken(self, token):
         """
         Retrieve all calendar objects in this calendar that have
@@ -115,6 +131,26 @@
         calendar object.
         """
 
+    def uid(self):
+        """
+        Retrieve the UID for this calendar object.
+        @return: a string containing a UID.
+        """
+
+    def componentType(self):
+        """
+        Retrieve the iCalendar component type for the main component
+        in this calendar object.
+        @return: a string containing the component type.
+        """
+
+    def organizer(self):
+        # FIXME: Ideally should return a URI object
+        """
+        Retrieve the organizer for this calendar object.
+        @return: a calendar user address.
+        """
+
     def properties(self):
         """
         Retrieve the property store for this calendar object.

Modified: CalendarServer/trunk/txcarddav/iaddressbookstore.py
===================================================================
--- CalendarServer/trunk/txcarddav/iaddressbookstore.py	2010-01-12 20:56:31 UTC (rev 4920)
+++ CalendarServer/trunk/txcarddav/iaddressbookstore.py	2010-01-13 21:11:04 UTC (rev 4921)
@@ -113,6 +113,12 @@
         contact.
         """
 
+    def uid(self):
+        """
+        Retrieve the UID for this contact card.
+        @return: a string containing a UID.
+        """
+
     def properties(self):
         """
         Retrieve the property store for this contact card.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100113/b80d49c8/attachment.html>


More information about the calendarserver-changes mailing list