Class CaldavPendingSubscriptionEntity

java.lang.Object
org.exoplatform.caldav.entity.CaldavPendingSubscriptionEntity

@Entity(name="CaldavPendingSubscriptionEntity") public class CaldavPendingSubscriptionEntity extends Object
One subscription change eXo owes a colleague's BlueMind account and has not managed to make (EXO-90277): the table CALDAV_PENDING_SUBSCRIPTION.

Modelled on CaldavPendingPushEntity, with one difference that is the whole point: no foreign key. A pending push belongs to a mapping row; a pending subscription belongs to the sharee, who holds no pair of their own for the shared calendar — they merely received a share — and who is therefore never visited by the sweep's per-account passes. The row names them by identity and server so that a table-driven drain can reach them.

One row per colleague, server and container (the unique index): the latest instruction is the one that stands, so a revoke recorded before a pending subscribe was drained replaces it with a removal rather than queueing behind it.

  • Constructor Details

    • CaldavPendingSubscriptionEntity

      public CaldavPendingSubscriptionEntity()