public class CalendarActionsEvent extends SocialEvent<CalendarActionsEvent.CalendarActions> implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CalendarActionsEvent.CalendarActions
The event types supported for the forum and its topics/posts.
|
SocialEvent.BaseEventObject, SocialEvent.EventObject, SocialEvent.SocialActions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CALENDAR_TOPIC
The event topic suffix for Calendar events.
|
OBJECT, SOCIAL_EVENT_TOPIC_PREFIX, TARGET
Constructor and Description |
---|
CalendarActionsEvent(java.lang.String path,
java.lang.String userId,
CalendarActionsEvent.CalendarActions action,
java.util.Map<java.lang.String,java.lang.Object> additionalData) |
Modifier and Type | Method and Description |
---|---|
static CalendarActionsEvent |
calendarEventCreated(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventAdded . |
static CalendarActionsEvent |
calendarEventDeleted(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventDeleted . |
static CalendarActionsEvent |
calendarEventReplyCreated(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventReplyAdded . |
static CalendarActionsEvent |
calendarEventReplyDeleted(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventReplyDeleted . |
static CalendarActionsEvent |
calendarEventReplyUpdated(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventReplyEdited . |
static CalendarActionsEvent |
calendarEventUpdated(CalendarEvent calendarEvent,
java.lang.String userId)
Creates a CalendarActionsEvent that represents an action of
CalendarActionsEvent.CalendarActions.CalendarEventEdited . |
getAction, getObject, getPath, getTarget, getUserId
containsProperty, equals, getProperty, getPropertyNames, getTopic, hashCode, matches, toString
public static final java.lang.String CALENDAR_TOPIC
public CalendarActionsEvent(java.lang.String path, java.lang.String userId, CalendarActionsEvent.CalendarActions action, java.util.Map<java.lang.String,java.lang.Object> additionalData)
path
- - the jcr path to either the question node or the answer node on which the event was triggered.userId
- - the user id of the user who triggered the event.action
- - the action that was taken to trigger the event.additionalData
- - any additional data that is part of the event payload.public static CalendarActionsEvent calendarEventCreated(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventAdded
.calendarEvent
- - the CalendarEvent
that was createduserId
- - the user id of the user who created the CalendarEvent
.public static CalendarActionsEvent calendarEventUpdated(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventEdited
.calendarEvent
- - the CalendarEvent
that was editeduserId
- - the user id of the user who edited the CalendarEvent
.public static CalendarActionsEvent calendarEventDeleted(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventDeleted
.calendarEvent
- - the CalendarEvent
that was deleteduserId
- - the user id of the user who deleted the CalendarEvent
.public static CalendarActionsEvent calendarEventReplyCreated(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventReplyAdded
.calendarEvent
- - the CalendarEvent
(reply on event) that was createduserId
- - the user id of the user who created the CalendarEvent
(reply on event).public static CalendarActionsEvent calendarEventReplyUpdated(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventReplyEdited
.calendarEvent
- - the CalendarEvent
(reply on event) that was editeduserId
- - the user id of the user who edited the CalendarEvent
(reply on event).public static CalendarActionsEvent calendarEventReplyDeleted(CalendarEvent calendarEvent, java.lang.String userId)
CalendarActionsEvent.CalendarActions.CalendarEventReplyDeleted
.calendarEvent
- - the CalendarEvent
(reply on event) that was deleteduserId
- - the user id of the user who deleted the CalendarEvent
(reply on event).Copyright © 2010 - 2020 Adobe. All Rights Reserved