org.activemath.events.types
Class MBaseCollectionsChangedEvent

java.lang.Object
  extended by org.activemath.events.ActivemathEvent
      extended by org.activemath.events.types.MBaseCollectionsChangedEvent
All Implemented Interfaces:
Serializable, Comparable, ApplicationEventTag, ContentEventTag

public class MBaseCollectionsChangedEvent
extends ActivemathEvent
implements ContentEventTag

Event describing changes in content-collections chracterized by added, changed, or removed ids stored as absolute string ids.

See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, itemId, sessionId, source, timestamp, type, userId
 
Constructor Summary
MBaseCollectionsChangedEvent()
           
MBaseCollectionsChangedEvent(Collection collection)
           
 
Method Summary
 void dispatchFinished()
          A hook for event generators to indicate that the dispatch of the event is finished.
 List getAddedIds()
           
 List getChangedIds()
           
 Collection getCollections()
           
 List getRemovedIds()
           
 void setAddedIds(List addedIds)
           
 void setChangedIds(List changedIds)
           
 void setCollections(Collection collectionNames)
           
 void setRemovedIds(List removedIds)
           
 String toString()
           
 void waitTillFinished()
           
 
Methods inherited from class org.activemath.events.ActivemathEvent
compareTo, getGroupId, getId, getItemId, getSource, getTimestamp, getType, setGroupId, setId, setItemId, setSource, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EVENT_TYPE

public static final String EVENT_TYPE
See Also:
Constant Field Values
Constructor Detail

MBaseCollectionsChangedEvent

public MBaseCollectionsChangedEvent()

MBaseCollectionsChangedEvent

public MBaseCollectionsChangedEvent(Collection collection)
Method Detail

getCollections

public Collection getCollections()

setCollections

public void setCollections(Collection collectionNames)

setAddedIds

public void setAddedIds(List addedIds)

setChangedIds

public void setChangedIds(List changedIds)

setRemovedIds

public void setRemovedIds(List removedIds)

getAddedIds

public List getAddedIds()

getChangedIds

public List getChangedIds()

getRemovedIds

public List getRemovedIds()

dispatchFinished

public void dispatchFinished()
Description copied from class: ActivemathEvent
A hook for event generators to indicate that the dispatch of the event is finished.

Overrides:
dispatchFinished in class ActivemathEvent

waitTillFinished

public void waitTillFinished()

toString

public String toString()
Overrides:
toString in class ActivemathEvent