[CalendarServer-changes] [12581] CalendarServer/trunk/txdav/who/idirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:16:52 PDT 2014
Revision: 12581
http://trac.calendarserver.org//changeset/12581
Author: wsanchez at apple.com
Date: 2014-02-05 16:13:48 -0800 (Wed, 05 Feb 2014)
Log Message:
-----------
re-order
Modified Paths:
--------------
CalendarServer/trunk/txdav/who/idirectory.py
Modified: CalendarServer/trunk/txdav/who/idirectory.py
===================================================================
--- CalendarServer/trunk/txdav/who/idirectory.py 2014-02-06 00:11:18 UTC (rev 12580)
+++ CalendarServer/trunk/txdav/who/idirectory.py 2014-02-06 00:13:48 UTC (rev 12581)
@@ -35,6 +35,47 @@
# Data types
#
+class AutoScheduleMode(Names):
+ """
+ Constants for automatic scheduling modes.
+
+ @cvar none: Invitations are not automatically handled.
+
+ @cvar accept: Accept all invitations.
+
+ @cvar decline: Decline all invitations.
+
+ @cvar acceptIfFree: Accept invitations that do not conflict with a busy
+ time slot. Other invitations are not automatically handled.
+
+ @cvar declineIfBusy: Decline invitations that conflict with a busy time
+ slot. Other invitations are not automatically handled.
+
+ @cvar acceptIfFreeDeclineIfBusy: Accept invitations that do not conflict
+ with a busy time slot. Decline invitations that conflict with a busy
+ time slot. Other invitations are not automatically handled.
+ """
+
+ none = NamedConstant()
+ none.description = u"no action"
+
+ accept = NamedConstant()
+ accept.description = u"accept"
+
+ decline = NamedConstant()
+ decline.description = u"decline"
+
+ acceptIfFree = NamedConstant()
+ acceptIfFree.description = u"accept if free"
+
+ declineIfBusy = NamedConstant()
+ declineIfBusy.description = u"decline if busy"
+
+ acceptIfFreeDeclineIfBusy = NamedConstant()
+ acceptIfFreeDeclineIfBusy.description = u"accept if free, decline if busy"
+
+
+
class RecordType(Names):
"""
Constants for calendar and contacts directory record types.
@@ -111,44 +152,3 @@
autoAcceptGroup = NamedConstant()
autoAcceptGroup.description = u"auto-accept group"
autoAcceptGroup.valueType = BaseFieldName.valueType(BaseFieldName.uid)
-
-
-
-class AutoScheduleMode(Names):
- """
- Constants for automatic scheduling modes.
-
- @cvar none: Invitations are not automatically handled.
-
- @cvar accept: Accept all invitations.
-
- @cvar decline: Decline all invitations.
-
- @cvar acceptIfFree: Accept invitations that do not conflict with a busy
- time slot. Other invitations are not automatically handled.
-
- @cvar declineIfBusy: Decline invitations that conflict with a busy time
- slot. Other invitations are not automatically handled.
-
- @cvar acceptIfFreeDeclineIfBusy: Accept invitations that do not conflict
- with a busy time slot. Decline invitations that conflict with a busy
- time slot. Other invitations are not automatically handled.
- """
-
- none = NamedConstant()
- none.description = u"no action"
-
- accept = NamedConstant()
- accept.description = u"accept"
-
- decline = NamedConstant()
- decline.description = u"decline"
-
- acceptIfFree = NamedConstant()
- acceptIfFree.description = u"accept if free"
-
- declineIfBusy = NamedConstant()
- declineIfBusy.description = u"decline if busy"
-
- acceptIfFreeDeclineIfBusy = NamedConstant()
- acceptIfFreeDeclineIfBusy.description = u"accept if free, decline if busy"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/2b436288/attachment.html>
More information about the calendarserver-changes
mailing list