Package org.exoplatform.caldav.model
Enum Class CalendarOwnerKind
- All Implemented Interfaces:
Serializable,Comparable<CalendarOwnerKind>,Constable
What kind of owner a calendar shared with the user belongs to
(EXO-90275): a person, or a resource such as a room or a pool vehicle.
Travels on RemoteCalendar beside the owner's name, so that the
"Shared with me" list can draw a resource with a resource glyph rather
than with an avatar nobody has. It is said only of a shared calendar and
is null on the user's own.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarOwnerKindReturns the enum constant of this class with the specified name.static CalendarOwnerKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERSON
A person: a colleague of this deployment, or a principal the server named. The kind of every share whose owner the server does not distinguish, which is every share but a BlueMind resource subscription today. -
RESOURCE
A bookable resource the user subscribed to — on BlueMind, a calendar listed ascalendar:<resource uid>under the user's own home.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-