Record Class CaldavManagedForUser
java.lang.Object
java.lang.Record
org.exoplatform.caldav.rest.model.CaldavManagedForUser
- Record Components:
managed- whether managed mode governs the callerserverId- the registration it keeps them on, null when it does not govern themrefused- whether the connection managed mode made for them on that registration was refused because of their own account, and still would be: their screens then offer no connection and say why (EXO-91017)
Whether managed mode keeps the calling user on a CalDAV server, and which one: what
the user's own screens need to offer neither disconnecting nor another server, and
to connect the designated one in one click (EXO-90836). The instance's exclusions are
the administration screen's facts and are not carried.
-
Constructor Summary
ConstructorsConstructorDescriptionCaldavManagedForUser(boolean managed, Long serverId, boolean refused) Creates an instance of aCaldavManagedForUserrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmanaged()Returns the value of themanagedrecord component.booleanrefused()Returns the value of therefusedrecord component.serverId()Returns the value of theserverIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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 '=='. -
managed
public boolean managed()Returns the value of themanagedrecord component.- Returns:
- the value of the
managedrecord component
-
serverId
Returns the value of theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
refused
public boolean refused()Returns the value of therefusedrecord component.- Returns:
- the value of the
refusedrecord component
-