public class ActionEvent extends Object implements info.magnolia.event.Event<ActionEvent.Handler>
Modifier and Type | Class and Description |
---|---|
static interface |
ActionEvent.Handler
Event listener that should react to item edited events.
|
static interface |
ActionEvent.Notifier
Event notifier that should register item edited events.
|
Constructor and Description |
---|
ActionEvent(String actionName,
Object itemId,
Object... parameters)
Instantiates a new item edited event.
|
ActionEvent(String actionName,
Set<Object> itemIds,
Object... parameters)
Instantiates a new item edited event.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(ActionEvent.Handler handler) |
String |
getActionName() |
Set<Object> |
getItemIds() |
Object[] |
getParameters() |
public ActionEvent(String actionName, Object itemId, Object... parameters)
actionName
- the action nameitemId
- the item idparameters
- the parameterspublic String getActionName()
public Object[] getParameters()
public void dispatch(ActionEvent.Handler handler)
dispatch
in interface info.magnolia.event.Event<ActionEvent.Handler>
Copyright © 2021 Magnolia International Ltd.. All rights reserved.