Package org.exoplatform.caldav.service
Interface CaldavConnectorService
public interface CaldavConnectorService
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCaldavSetting(CaldavUserSetting caldavUserSetting, long userIdentityId) Creates a new caldav user settingvoiddeleteCaldavSetting(long userIdentityId) Deletes an caldav user settinggetCaldavSetting(long userIdentityId) Retrieves caldav user setting by its technical user identity identifier.voidsaveMirrorCalendarHref(String mirrorCalendarHref, long userIdentityId) Saves the href of the mirror calendar of a user: the collection, on the connected CalDAV server, that receives the meetings pushed by eXo.
-
Method Details
-
createCaldavSetting
void createCaldavSetting(CaldavUserSetting caldavUserSetting, long userIdentityId) throws IllegalAccessException Creates a new caldav user setting- Parameters:
caldavUserSetting-CaldavUserSettingobject to createuserIdentityId- User identity creating the exchange user setting- Throws:
IllegalAccessException- when the user is not authorized to create caldav setting
-
getCaldavSetting
Retrieves caldav user setting by its technical user identity identifier.- Parameters:
userIdentityId- User identity getting the caldav user setting- Returns:
- A
CaldavUserSettingobject
-
deleteCaldavSetting
void deleteCaldavSetting(long userIdentityId) Deletes an caldav user setting- Parameters:
userIdentityId- User identity deleting his caldav user setting
-
saveMirrorCalendarHref
Saves the href of the mirror calendar of a user: the collection, on the connected CalDAV server, that receives the meetings pushed by eXo. The href — never the display name — identifies the collection, so renaming it from any CalDAV client does not orphan it.- Parameters:
mirrorCalendarHref- href of the mirror calendar collectionuserIdentityId- User identity saving his mirror calendar- Throws:
IllegalArgumentException- when the href is blank
-