Interface BlueMindSubscriptions
- All Superinterfaces:
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 interfaceSubscriptionEdits- Parameters:
containerUid- the container uid, the last segment of the calendar collection's path- Throws:
CalDavAuthenticationException- when BlueMind refuses the sessionCalDavForbiddenException- when BlueMind refuses the editCalDavNotFoundException- when BlueMind does not hold the containerCalDavUnreachableException- when the server cannot be reachedCalDavException- 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 interfaceSubscriptionEdits- Parameters:
containerUid- the container uid- Throws:
CalDavAuthenticationException- when BlueMind refuses the sessionCalDavForbiddenException- when BlueMind refuses the editCalDavNotFoundException- when BlueMind answers not foundCalDavUnreachableException- when the server cannot be reachedCalDavException- when the answer is anything else
-