Record Class CalendarDeletionPlan
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.CalendarDeletionPlan
- Record Components:
claimed- whether a CalDAV binding exists for this calendar at allpropagates- whether confirming also deletes the remote collection — true only for a collection eXo created. A calendar the user made in their own client is never removed by eXo, and a dialog saying otherwise would promise to destroy something we will not touch.server- the server holding it, named in the warning so the user knows which account is affected; null when nothing is claimed
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarDeletionPlan(boolean claimed, boolean propagates, String server) Creates an instance of aCalendarDeletionPlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanclaimed()Returns the value of theclaimedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thepropagatesrecord component.server()Returns the value of theserverrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CalendarDeletionPlan
Creates an instance of aCalendarDeletionPlanrecord class.- Parameters:
claimed- the value for theclaimedrecord componentpropagates- the value for thepropagatesrecord componentserver- the value for theserverrecord 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. -
claimed
-
propagates
public boolean propagates()Returns the value of thepropagatesrecord component.- Returns:
- the value of the
propagatesrecord component
-
server
-