Class ExternalShare

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

public class ExternalShare extends Object
A share of a calendar that exists on a delivery channel's server but not as an eXo record (EXO-90357), read live from the channel.

A share granted to a user of this deployment (shareeIdentityId set) whose access is one eXo itself would write — VIEW or EDIT (EXO-90378) — is recorded in eXo silently, as an adopted share at that level, the moment the owner lists their shares; deliveryRef is what the record then carries. The others — an address outside eXo, the whole server, a published link, a colleague holding more than eXo writes (MORE) — are listed to the owner as access held outside eXo, and can only be removed on the server, when the channel says they can.

  • Constructor Details

    • ExternalShare

      public ExternalShare(String channelId, String externalId, String kind, long shareeIdentityId, String displayName, boolean removable, boolean readOnly)
      A share without an address or a delivery reference.
      Parameters:
      channelId - the channel that listed it
      externalId - the channel's own identifier of the grant
      kind - what kind of grantee holds it
      shareeIdentityId - identity identifier of the sharee, else 0
      displayName - how the channel names the grantee
      removable - whether it can be removed on the server from eXo
      readOnly - whether it grants reading only