Esempio n. 1
0
    def getAllGroupAttendees(self):
        """
        Return a list of L{GroupAttendeeRecord},L{GroupRecord} for each group attendee referenced in calendar data
        owned by this home.
        """

        raw_results = yield self._txn.store().conduit.send_home_get_all_group_attendees(self)
        returnValue([(GroupAttendeeRecord.deserialize(item[0]), GroupsRecord.deserialize(item[1]),) for item in raw_results])
Esempio n. 2
0
    def getAllGroupAttendees(self):
        """
        Return a list of L{GroupAttendeeRecord},L{GroupRecord} for each group attendee referenced in calendar data
        owned by this home.
        """

        raw_results = yield self._txn.store().conduit.send_home_get_all_group_attendees(self)
        returnValue([(GroupAttendeeRecord.deserialize(item[0]), GroupsRecord.deserialize(item[1]),) for item in raw_results])
Esempio n. 3
0
 def groupSharees(self):
     results = yield self._txn.store().conduit.send_homechild_group_sharees(
         self)
     results["groups"] = [
         GroupsRecord.deserialize(items) for items in results["groups"]
     ]
     results["sharees"] = [
         GroupShareeRecord.deserialize(items)
         for items in results["sharees"]
     ]
     returnValue(results)
Esempio n. 4
0
 def groupSharees(self):
     results = yield self._txn.store().conduit.send_homechild_group_sharees(self)
     results["groups"] = [GroupsRecord.deserialize(items) for items in results["groups"]]
     results["sharees"] = [GroupShareeRecord.deserialize(items) for items in results["sharees"]]
     returnValue(results)