ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BackendInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\CalDAV\Backend;
4 
12 interface BackendInterface {
13 
39  function getCalendarsForUser($principalUri);
40 
54  function createCalendar($principalUri, $calendarUri, array $properties);
55 
72  function updateCalendar($calendarId, \Sabre\DAV\PropPatch $propPatch);
73 
80  function deleteCalendar($calendarId);
81 
113  function getCalendarObjects($calendarId);
114 
131  function getCalendarObject($calendarId, $objectUri);
132 
145  function getMultipleCalendarObjects($calendarId, array $uris);
146 
165  function createCalendarObject($calendarId, $objectUri, $calendarData);
166 
185  function updateCalendarObject($calendarId, $objectUri, $calendarData);
186 
196  function deleteCalendarObject($calendarId, $objectUri);
197 
247  function calendarQuery($calendarId, array $filters);
248 
268  function getCalendarObjectByUID($principalUri, $uid);
269 
270 }
getCalendarObjectByUID($principalUri, $uid)
Searches through all of a users calendars and calendar objects to find an object with a specific UID...
createCalendarObject($calendarId, $objectUri, $calendarData)
Creates a new calendar object.
getCalendarsForUser($principalUri)
Returns a list of calendars for a principal.
This class represents a set of properties that are going to be updated.
Definition: PropPatch.php:20
updateCalendarObject($calendarId, $objectUri, $calendarData)
Updates an existing calendarobject, based on it&#39;s uri.
getCalendarObjects($calendarId)
Returns all calendar objects within a calendar.
updateCalendar($calendarId, \Sabre\DAV\PropPatch $propPatch)
Updates properties for a calendar.
getCalendarObject($calendarId, $objectUri)
Returns information from a single calendar object, based on it&#39;s object uri.
Every CalDAV backend must at least implement this interface.
calendarQuery($calendarId, array $filters)
Performs a calendar-query on the contents of this calendar.
getMultipleCalendarObjects($calendarId, array $uris)
Returns a list of calendar objects.
deleteCalendar($calendarId)
Delete a calendar and all its objects.
createCalendar($principalUri, $calendarUri, array $properties)
Creates a new calendar for a principal.
deleteCalendarObject($calendarId, $objectUri)
Deletes an existing calendar object.