Package org.exoplatform.caldav.plugin
Interface ShareHost
public interface ShareHost
What the host lends a
CalendarShareChannel for one operation: the
lock serialising edits of a collection's access, who eXo knows behind a
principal, and the subscription follow-up of a confirmed change. Every
method answers from eXo's own records or the owner's own endpoint, never
with an administrator's key.-
Method Summary
Modifier and TypeMethodDescriptiondisplayNameOf(SharedCalendar calendar, String href, String canonical) What a principal no eXo user is connected as calls itself.voidfollowSubscription(SharedCalendar calendar, ShareRecipient sharee, String shareeUid, String containerUid, boolean subscribe) Makes the colleague's account follow a change just confirmed on the access list: subscribed after a grant, unsubscribed after a revoke.lockOf(SharedCalendar calendar) The lock serialising this node's edits of one collection's access.ownerPrincipalForRead(SharedCalendar calendar) The caller's principal for a read: the recorded one, the server being asked only when nothing is recorded.recordedPrincipal(SharedCalendar calendar) The principal eXo recorded for the caller's connection to the server.List<org.exoplatform.caldav.model.CalendarShares.ShareUser> usersConnectedAs(SharedCalendar calendar, String principal) The eXo users connected to the server as one principal, the caller left out; a lookup that fails names nobody.
-
Method Details