Class AvailabilityConflicts

java.lang.Object
org.exoplatform.agenda.model.AvailabilityConflicts

public class AvailabilityConflicts extends Object
The clash report over a proposed window, for the attendees whose availability the asking user is allowed to read.

The report is deliberately partial and says so. Availability is readable only where the platform calendar ACL allows it, or where the attendee's own sharing setting opens it to the asker, so an attendee the asker cannot read is neither reported busy nor assumed free: their identifier is listed in getNotDisclosedIdentityIds() and left out of getConflicts(). A caller that presents this to a user must say that those attendees were not checked, rather than imply they are available.

  • Constructor Details

    • AvailabilityConflicts

      public AvailabilityConflicts()
  • Method Details

    • isAllAvailable

      public boolean isAllAvailable()
      Tells whether every attendee that could actually be checked is free over the window.

      This says nothing about the attendees in notDisclosedIdentityIds: it is "no clash was found", not "everyone is free".

      Returns:
      true when no clash was found among the readable attendees