com.google.wave.api.event
Class DocumentChangedEvent

java.lang.Object
  extended by com.google.wave.api.event.AbstractEvent
      extended by com.google.wave.api.event.DocumentChangedEvent
All Implemented Interfaces:
Event

public class DocumentChangedEvent
extends AbstractEvent

Event triggered when a blip content is changed.


Field Summary
 
Fields inherited from class com.google.wave.api.event.AbstractEvent
wavelet
 
Constructor Summary
DocumentChangedEvent(Wavelet wavelet, EventMessageBundle bundle, java.lang.String modifiedBy, java.lang.Long timestamp, java.lang.String blipId)
          Constructor.
 
Method Summary
static DocumentChangedEvent as(Event event)
          Helper method for type conversion.
 
Methods inherited from class com.google.wave.api.event.AbstractEvent
getBlip, getBundle, getModifiedBy, getTimestamp, getType, getWavelet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentChangedEvent

public DocumentChangedEvent(Wavelet wavelet,
                            EventMessageBundle bundle,
                            java.lang.String modifiedBy,
                            java.lang.Long timestamp,
                            java.lang.String blipId)
Constructor.

Parameters:
wavelet - the wavelet where this event occurred.
bundle - the message bundle this event belongs to.
modifiedBy - the id of the participant that triggered this event.
timestamp - the timestamp of this event.
blipId - the id of the submitted blip.
Method Detail

as

public static DocumentChangedEvent as(Event event)
Helper method for type conversion.

Returns:
the concrete type of this event, or null if it is of a different event type.