Package org.exoplatform.caldav.model
Record Class LandedMailInvitation
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.LandedMailInvitation
- Record Components:
eventId- the agenda event the invitation stands forlink- where the event is read in the platform, built from the platform's own domain; null when removed, or when no page could be namedremoved- true when the event was removed — its organiser cancelled it — rather than put therealreadyHeld- true when nothing was written because the event is one of this deployment's own meetings, in agenda already
public record LandedMailInvitation(long eventId, String link, boolean removed, boolean alreadyHeld)
extends Record
What this add-on did with a mail invitation in the user's calendar
(EXO-90848).
-
Constructor Summary
ConstructorsConstructorDescriptionLandedMailInvitation(long eventId, String link, boolean removed, boolean alreadyHeld) Creates an instance of aLandedMailInvitationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thealreadyHeldrecord component.final booleanIndicates whether some other object is "equal to" this one.longeventId()Returns the value of theeventIdrecord component.final inthashCode()Returns a hash code value for this object.link()Returns the value of thelinkrecord component.booleanremoved()Returns the value of theremovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LandedMailInvitation
Creates an instance of aLandedMailInvitationrecord class.- Parameters:
eventId- the value for theeventIdrecord componentlink- the value for thelinkrecord componentremoved- the value for theremovedrecord componentalreadyHeld- the value for thealreadyHeldrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
eventId
public long eventId()Returns the value of theeventIdrecord component.- Returns:
- the value of the
eventIdrecord component
-
link
Returns the value of thelinkrecord component.- Returns:
- the value of the
linkrecord component
-
removed
public boolean removed()Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-
alreadyHeld
public boolean alreadyHeld()Returns the value of thealreadyHeldrecord component.- Returns:
- the value of the
alreadyHeldrecord component
-