@Name(value="eventManager") @Scope(value=APPLICATION) @Startup @Install(precedence=10) public class EventManager extends Object implements Serializable
Constructor and Description |
---|
EventManager() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
raiseEventsOnDocumentChange(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get updated.
|
static List<String> |
raiseEventsOnDocumentChildrenChange(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get updated.
|
static void |
raiseEventsOnDocumentCreate(DocumentModel document)
Dispatches an event to get interested components informed when a changeable document was created (thus not saved)
and before the form is displayed.
|
static List<String> |
raiseEventsOnDocumentSelected(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get updated.
|
static List<String> |
raiseEventsOnGoingHome()
Raises events on going home, will be processed immediately.
|
static List<String> |
raiseEventsOnLocationSelectionChanged()
Raises events on location selection change, will be processed immediately.
|
public EventManager()
public static List<String> raiseEventsOnGoingHome()
public static List<String> raiseEventsOnLocationSelectionChanged()
public static List<String> raiseEventsOnDocumentSelected(DocumentModel document)
public static List<String> raiseEventsOnDocumentChange(DocumentModel document)
public static void raiseEventsOnDocumentCreate(DocumentModel document)
public static List<String> raiseEventsOnDocumentChildrenChange(DocumentModel document)
Copyright © 2018 Nuxeo. All rights reserved.