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 TypeMethodDescriptionCalDavClient.calendarQuery(CalDavEndpoint endpoint, String collectionHref, Instant start, Instant end, String username, String password) 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, String username, String password) intCalDavClient.deleteObject(CalDavEndpoint endpoint, String href, String ifMatch, String username, String password) Deletes one object, conditionally when a version is given.intHttpCalDavClient.deleteObject(CalDavEndpoint endpoint, String href, String ifMatch, String username, String password) CalDavClient.discoverCalendarHome(CalDavEndpoint endpoint, String username, String password) 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, String username, String password) CalDavClient.fetchObject(CalDavEndpoint endpoint, String href, String username, String password) 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, String username, String password) CalDavClient.getCtag(CalDavEndpoint endpoint, String href, String username, String password) Reads the collection's current ctag, the cheap tier-2 question asked first on every run.HttpCalDavClient.getCtag(CalDavEndpoint endpoint, String href, String username, String password) CalDavClient.listCalendars(CalDavEndpoint endpoint, String homeHref, String username, String password) 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, and the calendar colour.HttpCalDavClient.listCalendars(CalDavEndpoint endpoint, String homeHref, String username, String password) CalDavClient.listResourceEtags(CalDavEndpoint endpoint, String collectionHref, String username, String password) 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, String username, String password) CalDavClient.mkCalendar(CalDavEndpoint endpoint, String href, String displayName, String color, String username, String password) 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, String username, String password) CalDavClient.multiget(CalDavEndpoint endpoint, String collectionHref, List<String> hrefs, String username, String password) 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, String username, String password) CalDavClient.probeCapabilities(CalDavEndpoint endpoint, String collectionHref, String username, String password) Probes which report tiers a collection's server can serve, in one Depth:0 PROPFIND.HttpCalDavClient.probeCapabilities(CalDavEndpoint endpoint, String collectionHref, String username, String password) CalDavClient.putObject(CalDavEndpoint endpoint, String href, String icsData, String username, String password) 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, String username, String password) CalDavClient.readCalendar(CalDavEndpoint endpoint, String href, String username, String password) 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, String username, String password) CalDavClient.syncCollection(CalDavEndpoint endpoint, String collectionHref, String syncToken, String username, String password) 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, String username, String password) CalDavClient.updateObject(CalDavEndpoint endpoint, String href, String icsData, String ifMatch, String username, String password) Replaces one existing object — guarded the opposite way fromCalDavClient.putObject(org.exoplatform.caldav.client.CalDavEndpoint, java.lang.String, java.lang.String, java.lang.String, java.lang.String):If-Matchwith the version the caller just read means the server only accepts the write when nobody changed the object since that read.HttpCalDavClient.updateObject(CalDavEndpoint endpoint, String href, String icsData, String ifMatch, String username, String password)