Class CalendarShareEntity

java.lang.Object
org.exoplatform.agenda.entity.CalendarShareEntity
All Implemented Interfaces:
Serializable

@Entity(name="AgendaCalendarShare") public class CalendarShareEntity extends Object implements Serializable
The stored side of a calendar share (EXO-90357): which calendar, which colleague, who granted it, when, where it came from, which channel also carries it, and whether the colleague hid it.

(CALENDAR_ID, SHAREE_IDENTITY_ID) is unique in the table: a calendar is shared once with a colleague, and sharing again is a retry of the delivery, never a second row. DynamicUpdate because the row has two writers — the owner's delivery updates DELIVERED_TO while the sharee may be flipping HIDDEN, and the owner's level change writes ACCESS_LEVEL (EXO-90378) — and each must write only its own column.

See Also:
  • Constructor Details

    • CalendarShareEntity

      public CalendarShareEntity()