Class CalendarsEventType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.repository.events.DefaultEventType
org.ametys.plugins.workspaces.events.WorkspacesEventType
org.ametys.plugins.workspaces.events.calendars.CalendarsEventType
- All Implemented Interfaces:
EventType
,LogEnabled
,PluginAware
,Configurable
,Serviceable
- Direct Known Subclasses:
CalendarEventCreatedOrUpdatedEventType
EventType
implementation for calendars-related events-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant for calendar's titlestatic final String
Constant for calendar's titlestatic final String
Constant for event's categoryFields inherited from class org.ametys.plugins.workspaces.events.WorkspacesEventType
_projectManager, _resolver, EVENT_PROJECT_CATEGORY_PROPERTY, EVENT_PROJECT_NAME_PROPERTY, EVENT_PROJECT_TITLE_PROPERTY
Fields inherited from class org.ametys.plugins.repository.events.DefaultEventType
_currentUserProvider, _userHelper
Fields inherited from interface org.ametys.plugins.repository.events.EventType
EVENT_AUTHOR, EVENT_DATE, EVENT_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
storeAdditionalEventData
(Node eventNode, Map<String, Object> parameters) Store additional data on eventMethods inherited from class org.ametys.plugins.workspaces.events.WorkspacesEventType
event2JSON, isMergeable, service
Methods inherited from class org.ametys.plugins.repository.events.DefaultEventType
_getAuthor, configure, getSupportedTypes, mergeEvents, setPluginInfo, storeEvent
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
EVENT_CALENDAR_TITLE_PROPERTY
Constant for calendar's title- See Also:
-
EVENT_CALENDAR_ID_PROPERTY
Constant for calendar's title- See Also:
-
EVENT_CATEGORY_CALENDARS
Constant for event's category- See Also:
-
-
Constructor Details
-
CalendarsEventType
public CalendarsEventType()
-
-
Method Details
-
storeAdditionalEventData
protected void storeAdditionalEventData(Node eventNode, Map<String, Object> parameters) throws RepositoryExceptionDescription copied from class:DefaultEventType
Store additional data on event- Overrides:
storeAdditionalEventData
in classWorkspacesEventType
- Parameters:
eventNode
- The event nodeparameters
- The event's parameters- Throws:
RepositoryException
- if an error occurred
-