Interface BlueMindSubscriptions
- All Superinterfaces:
org.exoplatform.caldav.plugin.SubscriptionEdits
public interface BlueMindSubscriptions
extends org.exoplatform.caldav.plugin.SubscriptionEdits
The edits one open session, checked to be the colleague's own, can make.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSubscribes the colleague to a container, withBlueMindSubscriptionClient.OFFLINE_SYNCandBlueMindSubscriptionClient.AUTOMOUNT.voidunsubscribe(String containerUid) Unsubscribes the colleague from a container.
-
Method Details
-
subscribe
Subscribes the colleague to a container, withBlueMindSubscriptionClient.OFFLINE_SYNCandBlueMindSubscriptionClient.AUTOMOUNT. A no-op on the server when they already are.- Specified by:
subscribein interfaceorg.exoplatform.caldav.plugin.SubscriptionEdits- Parameters:
containerUid- the container uid, the last segment of the calendar collection's path- Throws:
org.exoplatform.caldav.client.CalDavAuthenticationException- when BlueMind refuses the sessionorg.exoplatform.caldav.client.CalDavForbiddenException- when BlueMind refuses the editorg.exoplatform.caldav.client.CalDavNotFoundException- when BlueMind does not hold the containerorg.exoplatform.caldav.client.CalDavUnreachableException- when the server cannot be reachedorg.exoplatform.caldav.client.CalDavException- when the answer is anything else
-
unsubscribe
Unsubscribes the colleague from a container. BlueMind removes the subscription row whether or not the container still exists (UserSubscriptionService.unsubscribe: "unsub anyway").- Specified by:
unsubscribein interfaceorg.exoplatform.caldav.plugin.SubscriptionEdits- Parameters:
containerUid- the container uid- Throws:
org.exoplatform.caldav.client.CalDavAuthenticationException- when BlueMind refuses the sessionorg.exoplatform.caldav.client.CalDavForbiddenException- when BlueMind refuses the editorg.exoplatform.caldav.client.CalDavNotFoundException- when BlueMind answers not foundorg.exoplatform.caldav.client.CalDavUnreachableException- when the server cannot be reachedorg.exoplatform.caldav.client.CalDavException- when the answer is anything else
-