Class TimeBlockEntity
java.lang.Object
org.exoplatform.agenda.rest.model.TimeBlockEntity
A busy range as it leaves the server: two instants, in ISO-8601 with an
offset, and nothing else.
Two fields is the whole security property of this feature. Somebody else's calendar is being painted on this user's screen, and the only reason that is defensible is that a block says when and can never say what. Any field added here — a title, a location, a calendar name, an event id that could be dereferenced — would break that, so the class stays deliberately unable to carry one, and a test asserts its serialised key set.
The bounds are strings rather than ZonedDateTime so that what the
browser receives does not depend on whichever Jackson time module happens to
be registered in the container.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TimeBlockEntity
public TimeBlockEntity()
-