Enum CalendarOperation
- java.lang.Object
-
- java.lang.Enum<CalendarOperation>
-
- org.silverpeas.core.calendar.notification.CalendarOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<CalendarOperation>
public enum CalendarOperation extends Enum<CalendarOperation>
An enumeration of operations that can be performed in a calendar. It will serve as a selector of a template from which a message to send will be built.- Author:
- mmoquillon
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTENDEE_ADDING
One or more attendees have been adding.ATTENDEE_PARTICIPATION
The participation status of an attendee has been updated.ATTENDEE_PRESENCE
The presence status of an attendee has been updated.ATTENDEE_REMOVING
One or more attendees have been removed.EVENT_CREATE
The properties of the event which have been created (excepted the attendees).EVENT_DELETION
The event has been deleted.EVENT_UPDATE
The properties of the event have been updated (excepted the attendees).NONE
No operation.SINCE_ATTENDEE_ADDING
One or more attendees have been added in a recurrent event since a given occurrence (can be the first one).SINCE_ATTENDEE_PARTICIPATION
The participation status of an attendee has been updated in a recurrent event since a given occurrence (can be the first one).SINCE_ATTENDEE_PRESENCE
The presence status of an attendee has been updated in a recurrent event since a given occurrence (can be the first one).SINCE_ATTENDEE_REMOVING
One or more attendees have been removed from a recurrent event since a given occurrence (can be the first one).SINCE_EVENT_DELETION
A recurrent event has been deleted since a given occurrence (it can be the first one).SINCE_EVENT_UPDATE
A recurrent event has been modified since a given occurrence (it can be the first one).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTemplateName()
boolean
isSeveralImplied()
static CalendarOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static CalendarOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CalendarOperation NONE
No operation. It is the default value.
-
EVENT_CREATE
public static final CalendarOperation EVENT_CREATE
The properties of the event which have been created (excepted the attendees).
-
EVENT_UPDATE
public static final CalendarOperation EVENT_UPDATE
The properties of the event have been updated (excepted the attendees).
-
EVENT_DELETION
public static final CalendarOperation EVENT_DELETION
The event has been deleted.
-
SINCE_EVENT_UPDATE
public static final CalendarOperation SINCE_EVENT_UPDATE
A recurrent event has been modified since a given occurrence (it can be the first one).
-
SINCE_EVENT_DELETION
public static final CalendarOperation SINCE_EVENT_DELETION
A recurrent event has been deleted since a given occurrence (it can be the first one).
-
ATTENDEE_REMOVING
public static final CalendarOperation ATTENDEE_REMOVING
One or more attendees have been removed.
-
SINCE_ATTENDEE_REMOVING
public static final CalendarOperation SINCE_ATTENDEE_REMOVING
One or more attendees have been removed from a recurrent event since a given occurrence (can be the first one).
-
ATTENDEE_ADDING
public static final CalendarOperation ATTENDEE_ADDING
One or more attendees have been adding.
-
SINCE_ATTENDEE_ADDING
public static final CalendarOperation SINCE_ATTENDEE_ADDING
One or more attendees have been added in a recurrent event since a given occurrence (can be the first one).
-
ATTENDEE_PRESENCE
public static final CalendarOperation ATTENDEE_PRESENCE
The presence status of an attendee has been updated.
-
SINCE_ATTENDEE_PRESENCE
public static final CalendarOperation SINCE_ATTENDEE_PRESENCE
The presence status of an attendee has been updated in a recurrent event since a given occurrence (can be the first one).
-
ATTENDEE_PARTICIPATION
public static final CalendarOperation ATTENDEE_PARTICIPATION
The participation status of an attendee has been updated.
-
SINCE_ATTENDEE_PARTICIPATION
public static final CalendarOperation SINCE_ATTENDEE_PARTICIPATION
The participation status of an attendee has been updated in a recurrent event since a given occurrence (can be the first one).
-
-
Method Detail
-
values
public static CalendarOperation[] 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 (CalendarOperation c : CalendarOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalendarOperation 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 nameNullPointerException
- if the argument is null
-
getTemplateName
public String getTemplateName()
-
isSeveralImplied
public boolean isSeveralImplied()
-
-