Record Class MailInvitationEvent
java.lang.Object
java.lang.Record
org.exoplatform.agenda.model.MailInvitationEvent
- Record Components:
uid- the event's UIDmethod- the object's METHOD, upper-cased, null when it names nonesequence- the SEQUENCE, 0 when absentcancelled- whether the component's STATUS is CANCELLEDorganizer- the organiser's bare address, lower-cased, null when the component names nonesummary- the title, plain text, may be nulldescription- the description, plain text, may be nulllocation- the location, plain text, may be nullurl- the URL property as written, may be nullallDay- whether the event spans whole daysstart- the start; for an all-day event, its first day at UTC midnightend- the end; for an all-day event, its last day at UTC midnighttimeZone- the zone the event is expressed inavailability- FREE for a transparent event, BUSY for an opaque one, DEFAULT when the object says nothingrecurrence- the series' rule, null for a single event or an occurrenceoccurrenceId- the occurrence an override replaces, in the event's zone; null for the masterexcludedOccurrences- the occurrences the series' EXDATEs remove, in the event's zone; empty for an occurrenceoverrides- the occurrences the object replaces, each with itsoccurrenceId; empty for an occurrence
public record MailInvitationEvent(String uid, String method, int sequence, boolean cancelled, String organizer, String summary, String description, String location, String url, boolean allDay, ZonedDateTime start, ZonedDateTime end, ZoneId timeZone, org.exoplatform.agenda.constant.EventAvailability availability, org.exoplatform.agenda.model.EventRecurrence recurrence, ZonedDateTime occurrenceId, List<ZonedDateTime> excludedOccurrences, List<MailInvitationEvent> overrides)
extends Record
The event an invitation received by mail describes, as agenda reads it from
the iCalendar object (EXO-90866): the master component, the occurrences its
series excludes and the occurrences it overrides. Read from the sender's
content, capped and narrowed to plain text; nothing in it names a person of
this platform.
-
Constructor Summary
ConstructorsConstructorDescriptionMailInvitationEvent(String uid, String method, int sequence, boolean cancelled, String organizer, String summary, String description, String location, String url, boolean allDay, ZonedDateTime start, ZonedDateTime end, ZoneId timeZone, org.exoplatform.agenda.constant.EventAvailability availability, org.exoplatform.agenda.model.EventRecurrence recurrence, ZonedDateTime occurrenceId, List<ZonedDateTime> excludedOccurrences, List<MailInvitationEvent> overrides) Creates an instance of aMailInvitationEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanallDay()Returns the value of theallDayrecord component.org.exoplatform.agenda.constant.EventAvailabilityReturns the value of theavailabilityrecord component.booleanReturns the value of thecancelledrecord component.Returns the value of thedescriptionrecord component.end()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludedOccurrencesrecord component.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.method()Returns the value of themethodrecord component.Returns the value of theoccurrenceIdrecord component.Returns the value of theorganizerrecord component.Returns the value of theoverridesrecord component.org.exoplatform.agenda.model.EventRecurrenceReturns the value of therecurrencerecord component.intsequence()Returns the value of thesequencerecord component.start()Returns the value of thestartrecord component.summary()Returns the value of thesummaryrecord component.timeZone()Returns the value of thetimeZonerecord component.final StringtoString()Returns a string representation of this record class.uid()Returns the value of theuidrecord component.url()Returns the value of theurlrecord component.
-
Constructor Details
-
MailInvitationEvent
public MailInvitationEvent(String uid, String method, int sequence, boolean cancelled, String organizer, String summary, String description, String location, String url, boolean allDay, ZonedDateTime start, ZonedDateTime end, ZoneId timeZone, org.exoplatform.agenda.constant.EventAvailability availability, org.exoplatform.agenda.model.EventRecurrence recurrence, ZonedDateTime occurrenceId, List<ZonedDateTime> excludedOccurrences, List<MailInvitationEvent> overrides) Creates an instance of aMailInvitationEventrecord class.- Parameters:
uid- the value for theuidrecord componentmethod- the value for themethodrecord componentsequence- the value for thesequencerecord componentcancelled- the value for thecancelledrecord componentorganizer- the value for theorganizerrecord componentsummary- the value for thesummaryrecord componentdescription- the value for thedescriptionrecord componentlocation- the value for thelocationrecord componenturl- the value for theurlrecord componentallDay- the value for theallDayrecord componentstart- the value for thestartrecord componentend- the value for theendrecord componenttimeZone- the value for thetimeZonerecord componentavailability- the value for theavailabilityrecord componentrecurrence- the value for therecurrencerecord componentoccurrenceId- the value for theoccurrenceIdrecord componentexcludedOccurrences- the value for theexcludedOccurrencesrecord componentoverrides- the value for theoverridesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
uid
-
method
-
sequence
-
cancelled
-
organizer
-
summary
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
location
-
url
-
allDay
-
start
-
end
-
timeZone
-
availability
public org.exoplatform.agenda.constant.EventAvailability availability()Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
recurrence
public org.exoplatform.agenda.model.EventRecurrence recurrence()Returns the value of therecurrencerecord component.- Returns:
- the value of the
recurrencerecord component
-
occurrenceId
Returns the value of theoccurrenceIdrecord component.- Returns:
- the value of the
occurrenceIdrecord component
-
excludedOccurrences
Returns the value of theexcludedOccurrencesrecord component.- Returns:
- the value of the
excludedOccurrencesrecord component
-
overrides
-