Uses of Class
org.exoplatform.caldav.client.CalDavEndpoint
Packages that use CalDavEndpoint
-
Uses of CalDavEndpoint in org.exoplatform.caldav.client
Methods in org.exoplatform.caldav.client that return CalDavEndpointModifier and TypeMethodDescriptionMints the one kind of target this client will talk to: the account base of a declared server, resolved exclusively from the server registry — the row the account references, else the seed row, else the legacy deployment property — with the{username}placeholder replaced by the account's DAV username, percent-encoded for its path position.Methods in org.exoplatform.caldav.client with parameters of type CalDavEndpointModifier and TypeMethodDescriptionbooleanBlueMindAclClient.acceptsCredentials(CalDavEndpoint endpoint) Whether the owner's configured credentials are a login and password this API can take, without calling the server: what decides whether sharing on BlueMind is offered at all, so that a registration whose provider produces a token never shows an action every click of which would be refused.CalDavClient.calendarQuery(CalDavEndpoint endpoint, String collectionHref, Instant start, Instant end) Runs a calendar-query REPORT for the VEVENTs of a time window — the tier-3 floor for servers whose listings carry no usable ETags, and the ranged read the events endpoint will serve from.HttpCalDavClient.calendarQuery(CalDavEndpoint endpoint, String collectionHref, Instant start, Instant end) CalDavClient.capabilities(CalDavEndpoint endpoint, String href) What a resource supports: the compliance classes of itsDAVheader and the methods of itsAllowheader (EXO-90253).HttpCalDavClient.capabilities(CalDavEndpoint endpoint, String href) One OPTIONS, and one depth-0 PROPFIND of the same resource when that OPTIONS carries noDAVheader.intCalDavClient.deleteCollection(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair) Removes a whole collection, and everything in it.intHttpCalDavClient.deleteCollection(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair) intCalDavClient.deleteObject(CalDavEndpoint endpoint, String href, String ifMatch) Deletes one object, conditionally when a version is given.intHttpCalDavClient.deleteObject(CalDavEndpoint endpoint, String href, String ifMatch) CalDavClient.discoverCalendarHome(CalDavEndpoint endpoint) Walks discovery from the endpoint base: asks who the authenticated user is (current-user-principal), then where that principal's calendars live (calendar-home-set).HttpCalDavClient.discoverCalendarHome(CalDavEndpoint endpoint) The home half ofHttpCalDavClient.discoverHome(org.exoplatform.caldav.client.CalDavEndpoint), kept for the callers that need where the calendars are and never compare owners — the outbound binding, the mirror lookup, the deletion path.CalDavClient.discoverDefaultCalendar(CalDavEndpoint endpoint) Asks the account which of its calendars it treats as the default one — the collection a scheduling client files an invitation into when nobody says otherwise.HttpCalDavClient.discoverDefaultCalendar(CalDavEndpoint endpoint) CalDavClient.discoverHome(CalDavEndpoint endpoint) The same walk asCalDavClient.discoverCalendarHome(org.exoplatform.caldav.client.CalDavEndpoint), answering the principal it passed through beside the home it arrived at.HttpCalDavClient.discoverHome(CalDavEndpoint endpoint) The same two hops asHttpCalDavClient.discoverCalendarHome(org.exoplatform.caldav.client.CalDavEndpoint), keeping the principal the first one answered instead of throwing it away — the walk the sync and the read-through run, so that the owner of each listed collection can be compared against the account's own principal without a third PROPFIND (EXO-90235).CalDavClient.discoverPrincipal(CalDavEndpoint endpoint) Asks the server who the authenticated user is (current-user-principal), as a path on this endpoint — the first hop of every discovery here, exposed on its own because one caller needs the principal itself and not what hangs off it.HttpCalDavClient.discoverPrincipal(CalDavEndpoint endpoint) Who the server says is speaking, as a path on this endpoint - the first hop of every discovery, its own method because two of them start there, and on the interface because the push service compares its last segment with the name of a listed calendar (EXO-90225).CalDavClient.fetchObject(CalDavEndpoint endpoint, String href) Reads one object's current data and version in a single GET — what a conflict re-read asks, so the three-way runs against the object as the server holds it NOW rather than as the last sync remembers it.HttpCalDavClient.fetchObject(CalDavEndpoint endpoint, String href) CalDavClient.getCtag(CalDavEndpoint endpoint, String href) Reads the collection's current ctag, the cheap tier-2 question asked first on every run.HttpCalDavClient.getCtag(CalDavEndpoint endpoint, String href) CalDavClient.listCalendars(CalDavEndpoint endpoint, String homeHref) Lists the calendar collections of a home with every property the sync engine binds on: display name, resource type, ctag, sync token, supported reports, the user's privileges, the collection's owner, and the calendar colour.HttpCalDavClient.listCalendars(CalDavEndpoint endpoint, String homeHref) CalDavClient.listResourceEtags(CalDavEndpoint endpoint, String collectionHref) Lists every object in the collection with its version — thelistResourceEtagspattern the plan reuses verbatim from email-connector, and what tells the engine who is new, who changed and who is gone.HttpCalDavClient.listResourceEtags(CalDavEndpoint endpoint, String collectionHref) CalDavClient.mkCalendar(CalDavEndpoint endpoint, String href, String displayName, String color) Asks the server to create a calendar collection, display name and optional colour set atomically.HttpCalDavClient.mkCalendar(CalDavEndpoint endpoint, String href, String displayName, String color) CalDavClient.multiget(CalDavEndpoint endpoint, String collectionHref, List<String> hrefs) Fetches the calendar data of the given objects in one calendar-multiget REPORT — why a changed collection costs one round trip per batch rather than one per event.HttpCalDavClient.multiget(CalDavEndpoint endpoint, String collectionHref, List<String> hrefs) BlueMindAclClient.open(CalDavEndpoint endpoint) Opens a REST session as the owner, for as many reads as one service call needs;BlueMindAclClient.Session.close()logs it out.CalDavClient.overwriteObject(CalDavEndpoint endpoint, String href, String icsData) Writes one object over whatever is there, with no precondition at all.HttpCalDavClient.overwriteObject(CalDavEndpoint endpoint, String href, String icsData) intCalDavClient.postCalendarServerShare(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair, String address, boolean remove) Shares a collection with one sharee, read-only, or stops sharing it, with Apple'sPOST CS:share(EXO-90253).intHttpCalDavClient.postCalendarServerShare(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair, String address, boolean remove) OnePOST CS:shareto the pair's collection, asHttpCalDavClient.shareTarget(org.exoplatform.caldav.model.CalendarSync)admits it.CalDavClient.probeCapabilities(CalDavEndpoint endpoint, String collectionHref) Probes which report tiers a collection's server can serve, in one Depth:0 PROPFIND.HttpCalDavClient.probeCapabilities(CalDavEndpoint endpoint, String collectionHref) CalDavClient.putObject(CalDavEndpoint endpoint, String href, String icsData) Creates one object — always underIf-None-Match: *, with no unconditional variant on purpose: the server itself then guarantees the PUT can only CREATE, and an object already at that path answers 412 instead of being overwritten, whatever race led there.HttpCalDavClient.putObject(CalDavEndpoint endpoint, String href, String icsData) BlueMindAclClient.readAcl(CalDavEndpoint endpoint, String containerUid) A container's access list, read as its owner in one short REST session.CalDavClient.readAcl(CalDavEndpoint endpoint, String href) Reads a collection's access control list and the caller's own privileges on it, in one PROPFIND of depth 0 (EXO-90253).HttpCalDavClient.readAcl(CalDavEndpoint endpoint, String href) One PROPFIND of depth 0, every entry parsed or the whole list declared not understood.CalDavClient.readCalendar(CalDavEndpoint endpoint, String href) Reads one collection's properties at Depth:0 — what a bound pair re-reads on each run without paying a full home listing.HttpCalDavClient.readCalendar(CalDavEndpoint endpoint, String href) CalDavClient.readCalendarUserAddresses(CalDavEndpoint endpoint, String principalHref) The addresses a principal publishes as a calendar user (CALDAV:calendar-user-address-set, RFC 6638 §2.4.1), read with a PROPFIND of depth 0 through this endpoint (EXO-90253).HttpCalDavClient.readCalendarUserAddresses(CalDavEndpoint endpoint, String principalHref) One PROPFIND of depth 0, every href of a grantedcalendar-user-address-set.CalDavClient.readDisplayName(CalDavEndpoint endpoint, String href) What one resource calls itself: itsDAV:displayname, read with a single PROPFIND of depth 0.HttpCalDavClient.readDisplayName(CalDavEndpoint endpoint, String href) One PROPFIND of depth 0 for the one property, throughHttpCalDavClient.propfind(org.exoplatform.caldav.client.CalDavEndpoint, java.lang.String, java.lang.String, java.lang.String)and so throughHttpCalDavClient.target(org.exoplatform.caldav.client.CalDavEndpoint, java.lang.String): a principal path naming another authority is refused before a socket is opened, exactly as any other href would be.CalDavClient.setDisplayName(CalDavEndpoint endpoint, String href, String displayName) Asks the server to change the display name of an existing collection — a PROPPATCH ofDAV:displayname, the one property eXo propagates after creation.HttpCalDavClient.setDisplayName(CalDavEndpoint endpoint, String href, String displayName) CalDavClient.syncCollection(CalDavEndpoint endpoint, String collectionHref, String syncToken) Runs an RFC 6578 sync-collection REPORT with a stored token — tier 1, one round trip for everything changed or deleted since that token.HttpCalDavClient.syncCollection(CalDavEndpoint endpoint, String collectionHref, String syncToken) CalDavClient.updateObject(CalDavEndpoint endpoint, String href, String icsData, String ifMatch) HttpCalDavClient.updateObject(CalDavEndpoint endpoint, String href, String icsData, String ifMatch) CalDavClient.writeAcl(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair, List<AccessControlEntry> entries) Replaces the modifiable entries of a collection's access control list with the given ones: RFC 3744 §8.1'sACLmethod (EXO-90253).HttpCalDavClient.writeAcl(CalDavEndpoint endpoint, org.exoplatform.caldav.model.CalendarSync pair, List<AccessControlEntry> entries) OneACLrequest carrying the complete list, addressed only through the pair's authorised collection. -
Uses of CalDavEndpoint in org.exoplatform.caldav.service
Methods in org.exoplatform.caldav.service with parameters of type CalDavEndpointModifier and TypeMethodDescriptionCaldavCalendarOwnerService.ownerOf(long viewerIdentityId, long serverId, CalDavEndpoint endpoint, String principal, CollectionOwnership ownership, CalendarCollection collection, org.exoplatform.caldav.service.CalendarOwnerMemo memo) Who a listed collection belongs to, given whose the list already found it to be.CaldavSubscriptionRetirementService.retire(long userIdentityId, CalDavEndpoint endpoint, String principal, org.exoplatform.caldav.model.CalendarSync pair, CalendarCollection collection, CollectionOwnership ownership) Retires a binding the sweep made for a collection that is a subscription.