Enum Class CalendarOwnerKind

java.lang.Object
java.lang.Enum<CalendarOwnerKind>
org.exoplatform.caldav.model.CalendarOwnerKind
All Implemented Interfaces:
Serializable, Comparable<CalendarOwnerKind>, Constable

public enum CalendarOwnerKind extends Enum<CalendarOwnerKind>
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.

  • Enum Constant Details

    • PERSON

      public static final CalendarOwnerKind 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

      public static final CalendarOwnerKind RESOURCE
      A bookable resource the user subscribed to — on BlueMind, a calendar listed as calendar:<resource uid> under the user's own home.
  • Method Details

    • values

      public static CalendarOwnerKind[] 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

      public static CalendarOwnerKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null