public interface SharingI extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SharingI.ReplyResult |
static class |
SharingI.SubscribeResult |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(BwCalendar col)
Do any cleanup necessary for a collection delete.
|
org.bedework.caldav.util.sharing.InviteType |
getInviteStatus(BwCalendar col) |
void |
publish(BwCalendar col)
Publish the collection - that is make it available for subscriptions.
|
SharingI.ReplyResult |
reply(BwCalendar col,
org.bedework.caldav.util.sharing.InviteReplyType reply) |
org.bedework.caldav.util.sharing.ShareResultType |
share(BwCalendar col,
org.bedework.caldav.util.sharing.ShareType share) |
org.bedework.caldav.util.sharing.ShareResultType |
share(String principalHref,
BwCalendar col,
org.bedework.caldav.util.sharing.ShareType share) |
SharingI.SubscribeResult |
subscribe(String colPath,
String subscribedName)
Subscribe to the collection - must be a published collection.
|
SharingI.SubscribeResult |
subscribeExternal(String extUrl,
String subscribedName,
int refresh,
String remoteId,
String remotePw)
Subscribe to an external url.
|
void |
unpublish(BwCalendar col)
Unpublish the collection - that is make it unavailable for subscriptions
and remove any existing subscriptions.
|
void |
unsubscribe(BwCalendar col)
Unsubscribe the collection - that is col MUST be an alias to
another collection.
|
org.bedework.caldav.util.sharing.ShareResultType share(String principalHref, BwCalendar col, org.bedework.caldav.util.sharing.ShareType share) throws CalFacadeException
principalHref - share as this user.col - MUST be a sharable collectionshare - the requestCalFacadeException - on fatal errororg.bedework.caldav.util.sharing.ShareResultType share(BwCalendar col, org.bedework.caldav.util.sharing.ShareType share) throws CalFacadeException
col - MUST be a sharable collectionshare - the requestCalFacadeException - on fatal errorSharingI.ReplyResult reply(BwCalendar col, org.bedework.caldav.util.sharing.InviteReplyType reply) throws CalFacadeException
col - MUST be current sharees homereply - the requestCalFacadeException - on fatal errororg.bedework.caldav.util.sharing.InviteType getInviteStatus(BwCalendar col) throws CalFacadeException
col - to checkCalFacadeException - on fatal errorvoid delete(BwCalendar col) throws CalFacadeException
col - to deleteCalFacadeException - on fatal errorvoid publish(BwCalendar col) throws CalFacadeException
col - to publishCalFacadeException - on fatal errorvoid unpublish(BwCalendar col) throws CalFacadeException
col - to unpublishCalFacadeException - on fatal errorSharingI.SubscribeResult subscribe(String colPath, String subscribedName) throws CalFacadeException
colPath - of collectionsubscribedName - name for new aliasCalFacadeException - on fatal errorSharingI.SubscribeResult subscribeExternal(String extUrl, String subscribedName, int refresh, String remoteId, String remotePw) throws CalFacadeException
extUrl - external urlsubscribedName - name for new aliasrefresh - - refresh rate in minutes <= 0 for defaultremoteId - - may be nullremotePw - - may be nullCalFacadeException - on fatal errorvoid unsubscribe(BwCalendar col) throws CalFacadeException
col - alias to unsubscribeCalFacadeException - on fatal errorCopyright © 2019 Bedework. All rights reserved.