Class MinisitePageRenamedEventType
- 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.minisite.MinisiteEventType
-
- org.ametys.plugins.workspaces.events.minisite.MinisitePageRenamedEventType
-
- All Implemented Interfaces:
EventType
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class MinisitePageRenamedEventType extends MinisiteEventType
EventType
implementation for the creation of a new page in the minisite module
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.workspaces.events.minisite.MinisiteEventType
EVENT_CATEGORY_MINISITE, EVENT_PAGE_ID_PROPERTY, EVENT_PAGE_TITLE_PROPERTY
-
Fields inherited from class org.ametys.plugins.workspaces.events.WorkspacesEventType
_projectManager, _resolver, EVENT_PROJECT_CATEGORY_PROPERTY, EVENT_PROJECT_NAME_PROPERTY, EVENT_PROJECT_TITLE_PROPERTY, PROJECT_ACCESS, PROJECT_CATEGORY, PROJECT_NAME, PROJECT_TITLE, PROJECT_URL
-
Fields inherited from class org.ametys.plugins.repository.events.DefaultEventType
_currentUserProvider, _userHelper, AUTHOR, DATE, NAME, TYPE
-
Fields inherited from interface org.ametys.plugins.repository.events.EventType
EVENT_AUTHOR, EVENT_DATE, EVENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description MinisitePageRenamedEventType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMergeable(Map<String,Object> event1, Map<String,Object> event2)
Determines if two events can be merged-
Methods inherited from class org.ametys.plugins.workspaces.events.minisite.MinisiteEventType
_addPropertyIfExists, event2JSON, mergeEvents, storeAdditionalEventData
-
Methods inherited from class org.ametys.plugins.workspaces.events.WorkspacesEventType
service
-
Methods inherited from class org.ametys.plugins.repository.events.DefaultEventType
_getAuthor, configure, getSupportedTypes, setPluginInfo, storeEvent
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
MinisitePageRenamedEventType
public MinisitePageRenamedEventType()
-
-
Method Detail
-
isMergeable
public boolean isMergeable(Map<String,Object> event1, Map<String,Object> event2)
Description copied from interface:EventType
Determines if two events can be merged- Specified by:
isMergeable
in interfaceEventType
- Overrides:
isMergeable
in classWorkspacesEventType
- Parameters:
event1
- The first eventevent2
- The second event- Returns:
- true if the events can be merged
-
-