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.uid of the login answer) — the uid a calendar of the account's own carries as its owner
ownerByContainerUid - 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 Details

    • BlueMindCalendarOwners

      public BlueMindCalendarOwners(String accountUid, Map<String,String> ownerByContainerUid)
      An answer, its map made unmodifiable.
      Parameters:
      accountUid - the authenticated account's uid
      ownerByContainerUid - the owner of each listed calendar
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • accountUid

      public String accountUid()
      Returns the value of the accountUid record component.
      Returns:
      the value of the accountUid record component
    • ownerByContainerUid

      public Map<String,String> ownerByContainerUid()
      Returns the value of the ownerByContainerUid record component.
      Returns:
      the value of the ownerByContainerUid record component