info.magnolia.ui.api.event
Class ContentChangedEvent
java.lang.Object
info.magnolia.ui.api.event.ContentChangedEvent
- All Implemented Interfaces:
- info.magnolia.event.Event<ContentChangedEvent.Handler>
public class ContentChangedEvent
- extends Object
- implements info.magnolia.event.Event<ContentChangedEvent.Handler>
Event fired when content is changed in a workspace. Holds an itemId of an item that is related to the changes made.
If the change was a deletion the itemId is the parent of the deleted item. If something was added the itemId is for
the new item.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentChangedEvent
public ContentChangedEvent(String workspace,
String itemId)
ContentChangedEvent
public ContentChangedEvent(String workspace,
String itemId,
boolean itemContentsChanged)
getWorkspace
public String getWorkspace()
getItemId
public String getItemId()
isItemContentChanged
public boolean isItemContentChanged()
dispatch
public void dispatch(ContentChangedEvent.Handler handler)
- Specified by:
dispatch
in interface info.magnolia.event.Event<ContentChangedEvent.Handler>
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.