Package org.exoplatform.agenda.model
Class UserBusyTime
java.lang.Object
org.exoplatform.agenda.model.UserBusyTime
One user's busy time over a window, and what happened when it was
asked for.
The status is not decoration. Three outcomes reach a screen that has to decide whether a slot is free, and two of them look identical without it:
AvailabilityDisclosure.DISCLOSEDwith an emptygetBusy()— a calendar was read and holds nothing over the window. They are free.AvailabilityDisclosure.NOT_DISCLOSED— no calendar was read, because this user does not disclose their busy time to the asking user. Nothing is known.AvailabilityDisclosure.FAILED— no calendar was read, because the read broke. Nothing is known, and it is not their doing.
getBusy() is null for the last two, deliberately. An empty
list there would be a second spelling of "they are free", one field away
from the status that says otherwise, and every incident this delivery has
had came from exactly that collapse.
Only time ranges are carried — never an event, its title, its location, its guests or its calendar. Disclosing when someone is busy must never disclose what they are doing.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserBusyTime
public UserBusyTime()
-