Package org.opencms.acacia.shared
Class CmsEntityChangeEvent
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<com.google.gwt.event.logical.shared.ValueChangeHandler<T>>
-
- com.google.gwt.event.logical.shared.ValueChangeEvent<CmsEntity>
-
- org.opencms.acacia.shared.CmsEntityChangeEvent
-
public class CmsEntityChangeEvent extends com.google.gwt.event.logical.shared.ValueChangeEvent<CmsEntity>
Value change event for entities with an additional field that indicates the type of change.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsEntityChangeEvent.ChangeType
Enum indicating the type of changes.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsEntityChangeEvent(CmsEntity value, CmsEntityChangeEvent.ChangeType type)
Creates a new event instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsEntityChangeEvent.ChangeType
getChangeType()
Gets the change type.-
Methods inherited from class com.google.gwt.event.logical.shared.ValueChangeEvent
dispatch, fire, fireIfNotEqual, getAssociatedType, getType, getValue, shouldFire, toDebugString
-
-
-
-
Constructor Detail
-
CmsEntityChangeEvent
protected CmsEntityChangeEvent(CmsEntity value, CmsEntityChangeEvent.ChangeType type)
Creates a new event instance.- Parameters:
value
- the new entity valuetype
- the change type
-
-
Method Detail
-
getChangeType
public CmsEntityChangeEvent.ChangeType getChangeType()
Gets the change type.- Returns:
- the change type
-
-