public class ResourceRenamedEventType extends DocumentsEventType
EventType
implementation for the creation of a resource_ametysObjectResolver, EVENT_CATEGORY_DOCUMENTS, EVENT_PARENT_FOLDER_ID_PROPERTY, EVENT_PARENT_FOLDER_PROPERTY
_projectManager, EVENT_PROJECT_CATEGORY_PROPERTY, EVENT_PROJECT_NAME_PROPERTY, EVENT_PROJECT_TITLE_PROPERTY
_currentUserProvider, _userHelper
EVENT_AUTHOR, EVENT_DATE, EVENT_TYPE
Constructor and Description |
---|
ResourceRenamedEventType() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
event2JSON(Node eventNode)
Format an event node to JSON
|
protected void |
storeAdditionalEventData(Node eventNode,
Map<String,Object> parameters)
Store additional data on event
|
contextualize, isMergeable, mergeEvents, service
_getAuthor, configure, getSupportedTypes, setPluginInfo, storeEvent
getLogger, setLogger
public ResourceRenamedEventType()
protected void storeAdditionalEventData(Node eventNode, Map<String,Object> parameters) throws RepositoryException
DefaultEventType
storeAdditionalEventData
in class DocumentsEventType
eventNode
- The event nodeparameters
- The event's parametersRepositoryException
- if an error occurredpublic Map<String,Object> event2JSON(Node eventNode) throws RepositoryException
EventType
event2JSON
in interface EventType
event2JSON
in class DocumentsEventType
eventNode
- the node of an eventRepositoryException
- if an error occurs while manipulating the repository