OwlCyberSecurity - MANAGER
Edit File: icaldav.pyc
� �t�ac @ sR d Z d d g Z d d l m Z d e f d � � YZ d e f d � � YZ d S( s CalDAV interfaces. t ICalDAVResourcet ICalendarPrincipalResourcei����( t IDAVResourcec B sD e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s CalDAV resource. c C s d S( s� (CalDAV-access-10, Section 4.2) @return: True if this resource is a calendar collection, False otherwise. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt isCalendarCollection! t c C s d S( s� (CalDAV-access-10, Section 4.2) @param collectiontype: L{WebDAVElement} for the collection type to test for. @return: True if this resource is a collection that also has the specified type, False otherwise. N( ( t collectiontype( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt isSpecialCollection( R c C s d S( s� @return: True if this resource is a calendar collection like (e.g. a regular calendar collection or schedule inbox/outbox), False otherwise. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt isPseudoCalendarCollection0 R c C s d S( s� Returns an iterable of child calendar collection resources for the given depth. Because resources do not know their request URIs, children are returned as tuples C{(resource, uri)}, where C{resource} is the child resource and C{uri} is a URL path relative to this resource. @param depth: the search depth (one of "0", "1", or "infinity") @return: an iterable of tuples C{(resource, uri)}. N( ( t depth( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt findCalendarCollections7 R c C s d S( sA Create a calendar collection for this resource. N( ( t request( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt createCalendarB R c C s d S( s� Instantiate an iCalendar component object representing this resource or its child with the given name. The behavior of this method is not specified if it is called on a resource that is not a calendar collection or a calendar resource within a calendar collection. @return: a L{twistedcaldav.ical.Component} of type C{"VCALENDAR"}. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt componentG R ( t __name__t __module__t __doc__R R R R R R ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyR s c B sD e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s$ CalDAV principle resource. c C s d S( s: @return: the user id for this principal. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt principalUIDW R c C s d S( s[ @return: a list of calendar home URLs for this principal's calendar user. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt calendarHomeURLs\ R c C s d S( sl @return: a list of calendar user addresses for this principal's calendar user. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt calendarUserAddressesa R c C s d S( s� @param request: the request being processed. @return: a L{Deferred} list of URIs for calendars that contribute to free-busy for this principal's calendar user. N( ( R ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt calendarFreeBusyURIsg R c C s d S( s� Get the schedule INBOX URL for this principal's calendar user. @return: a string containing the URL from the schedule-inbox-URL property. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt scheduleInboxURLn R c C s d S( s� Get the schedule OUTBOX URL for this principal's calendar user. @return: a string containing the URL from the schedule-outbox-URL property. N( ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt scheduleOutboxURLt R ( R R R R R R R R R ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyR S s N( R t __all__t txweb2.dav.idavR R R ( ( ( s( /opt/cpanel-ccs/twistedcaldav/icaldav.pyt <module> s 6