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
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. All components in this record class are compared withObjects::equals(Object,Object). -
serverId
Returns the value of theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
excludedGroups
Returns the value of theexcludedGroupsrecord component.- Returns:
- the value of the
excludedGroupsrecord component
-