Class UserBusyTimeEntity

java.lang.Object
org.exoplatform.agenda.rest.model.UserBusyTimeEntity

public class UserBusyTimeEntity extends Object
One participant's busy time as it leaves the server, with the status of the read that produced it.

Three fields, and the middle one is load-bearing. disclosure is "disclosed", "not_disclosed" or "failed"; only the first ever carries busy, and only the first means a calendar was read. A client that draws busy without reading disclosure draws a person who withheld their calendar exactly like a person who has nothing on — which is the failure this whole endpoint exists to make impossible.

busy is null, never [], for the other two: an empty array is already the wire spelling of "read, and empty", and one idea gets one spelling.

No name, no avatar and no profile travel here. The client already holds the participant list it asked about and matches on identityId; sending profile data back would widen what this endpoint discloses for no gain.

  • Constructor Details

    • UserBusyTimeEntity

      public UserBusyTimeEntity()