Record Class BlueMindCalendarOwners
java.lang.Object
java.lang.Record
org.exoplatform.caldav.client.bluemind.BlueMindCalendarOwners
- Record Components:
accountUid- the directory entry uid the session was authenticated as (authUser.uidof the login answer) — the uid a calendar of the account's own carries as its ownerownerByContainerUid- the owner uid of each listed calendar, keyed by the container uid, which is the last segment of the calendar's collection path; unmodifiable
- All Implemented Interfaces:
Serializable
public record BlueMindCalendarOwners(String accountUid, Map<String,String> ownerByContainerUid)
extends Record
implements Serializable
Whose each calendar in a BlueMind account's view is, as BlueMind's own
subscription listing reports it (EXO-90347).
The answer to
GET /api/users/{domainUid}/subscriptions/{uid}?type=calendar, read
as the account itself: one ContainerSubscriptionDescriptor per
calendar the account sees — its own, and every one it subscribed to — each
carrying the owner directory entry uid
(parent/core/net.bluemind.core.container.api/.../ContainerSubscriptionDescriptor.java;
captured live on 2026-09-16 as
bluemind-rest-subscriptions-after-subscribe.captured.json). It is
the one place BlueMind says whose a calendar is: its DAV listing puts
every subscribed calendar under the subscriber's own home and names the
subscriber as DAV:owner (BlueMindContainerNaming), so a
colleague's calendar and the account's own look alike over CalDAV.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBlueMindCalendarOwners(String accountUid, Map<String, String> ownerByContainerUid) An answer, its map made unmodifiable. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountUidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theownerByContainerUidrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BlueMindCalendarOwners
An answer, its map made unmodifiable.- Parameters:
accountUid- the authenticated account's uidownerByContainerUid- the owner of each listed calendar
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
accountUid
Returns the value of theaccountUidrecord component.- Returns:
- the value of the
accountUidrecord component
-
ownerByContainerUid
Returns the value of theownerByContainerUidrecord component.- Returns:
- the value of the
ownerByContainerUidrecord component
-