Record Class CaldavManagedModeRequest
java.lang.Object
java.lang.Record
org.exoplatform.caldav.rest.model.CaldavManagedModeRequest
- Record Components:
serverId- technical identifier of the registrationexcludedGroups- the eXo group ids whose members keep choosing their own server, null or empty for none
What the administration drawer sends to point the whole instance at one
declared server: the server, and the groups the choice must not reach.
One body for the two facts, on purpose: they are applied by one click and stored by one service call, and two requests would leave a moment where the designation stands without its exclusions.
-
Constructor Summary
ConstructorsConstructorDescriptionCaldavManagedModeRequest(Long serverId, List<String> excludedGroups) Creates an instance of aCaldavManagedModeRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexcludedGroupsrecord component.final inthashCode()Returns a hash code value for this object.serverId()Returns the value of theserverIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CaldavManagedModeRequest
Creates an instance of aCaldavManagedModeRequestrecord class.- Parameters:
serverId- the value for theserverIdrecord componentexcludedGroups- the value for theexcludedGroupsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
serverId
-
excludedGroups
Returns the value of theexcludedGroupsrecord component.- Returns:
- the value of the
excludedGroupsrecord component
-