public enum CalendarProcess extends Enum<CalendarProcess>
CalendarProcess
values are used to define the action taken taken on Calendar notices and entries
Note: The values of these constants are the very same constants used by the C-API.Enum Constant and Description |
---|
ACCEPT
Accept (regardless of conflicts)
For Information update notices or confirm notices, this will apply the changes to the relavent calendar entry. Used by the organizer to accept a counter proposal. |
CANCEL
This will cancel a meeting that the mailfile owner is the organizer of
|
COUNTER
Counter to a new time (requires populating
CalendarActionData.withChangeToStart(java.time.temporal.Temporal) / CalendarActionData.withChangeToEnd(java.time.temporal.Temporal) values) |
DECLINE
Decline
Can be used by the organizer to decline a counter if done from a counter notice |
DELEGATE
Delegate to
CalendarActionData.withDelegateTo(String) |
DELETE
This will physically delete a meeting from the calendar.
|
REMOVECANCEL
This will process a cancelation notice, removing the meeting from the calendar
|
REQUESTINFO
Request updated information from the organizer for this meeting.
|
SMARTREMOVE
This will remove the meeting or appointment from the calendar and send notices if
necessary.
It is treated as a CANCEL if the entry is a meeting the mailfile
owner is the organizer of.It is treated as a DECLINE if the entry is a meeting that the mailfile
owner is not the organizer of except when the entry is a broadcast. |
TENTATIVE
Tentatively accept (regardless of conflicts)
|
UPDATEINVITEES
This will update the invitee lists on the specified entry (or entries) to include or remove
those users specified in lists contained in the
CalendarActionData.withAddNamesRequired(String...) etc. |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static int |
toBitMask(Collection<CalendarProcess> findSet) |
static CalendarProcess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarProcess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarProcess ACCEPT
public static final CalendarProcess TENTATIVE
public static final CalendarProcess DECLINE
public static final CalendarProcess DELEGATE
CalendarActionData.withDelegateTo(String)
public static final CalendarProcess COUNTER
CalendarActionData.withChangeToStart(java.time.temporal.Temporal)
/ CalendarActionData.withChangeToEnd(java.time.temporal.Temporal)
values)public static final CalendarProcess REQUESTINFO
public static final CalendarProcess REMOVECANCEL
public static final CalendarProcess DELETE
public static final CalendarProcess SMARTREMOVE
CANCEL
if the entry is a meeting the mailfile
owner is the organizer of.DECLINE
if the entry is a meeting that the mailfile
owner is not the organizer of except when the entry is a broadcast. In that case it
is treated as a DELETE
.DELETE
if the entry is a non-meetingpublic static final CalendarProcess CANCEL
public static final CalendarProcess UPDATEINVITEES
CalendarActionData.withAddNamesRequired(String...)
etc. and
CalendarActionData.withRemoveNames(String...)
valuespublic static CalendarProcess[] values()
for (CalendarProcess c : CalendarProcess.values()) System.out.println(c);
public static CalendarProcess valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static int toBitMask(Collection<CalendarProcess> findSet)
Copyright © 2019–2021 HCL. All rights reserved.