Enum PermissionRole

    • Enum Constant Detail

      • FREE_BUSY_READER

        public static final PermissionRole FREE_BUSY_READER
        "freeBusyReader" - Provides read access to free/busy information.
      • READER

        public static final PermissionRole READER
        "reader" - Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
      • WRITER

        public static final PermissionRole WRITER
        "writer" - Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
      • OWNER

        public static final PermissionRole OWNER
        "owner" - Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
    • Method Detail

      • values

        public static PermissionRole[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PermissionRole c : PermissionRole.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PermissionRole valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null