Class BaseEventCollection
- java.lang.Object
-
- org.jbpm.persistence.api.integration.base.BaseEventCollection
-
- All Implemented Interfaces:
Serializable,EventCollection
public class BaseEventCollection extends Object implements EventCollection
Base event collection that collects all events avoiding duplicates. No extra filtering is performed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseEventCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(InstanceView<?> event)Invoked when new instance is createdCollection<InstanceView<?>>getEvents()Returns all collected events.voidremove(InstanceView<?> item)Invoked when instance is removedvoidupdate(InstanceView<?> item)Invoked when instance is updated
-
-
-
Method Detail
-
update
public void update(InstanceView<?> item)
Description copied from interface:EventCollectionInvoked when instance is updated- Specified by:
updatein interfaceEventCollection
-
remove
public void remove(InstanceView<?> item)
Description copied from interface:EventCollectionInvoked when instance is removed- Specified by:
removein interfaceEventCollection
-
getEvents
public Collection<InstanceView<?>> getEvents()
Description copied from interface:EventCollectionReturns all collected events.- Specified by:
getEventsin interfaceEventCollection- Returns:
- events
-
add
public void add(InstanceView<?> event)
Description copied from interface:EventCollectionInvoked when new instance is created- Specified by:
addin interfaceEventCollection- Parameters:
event- view of the instance in compact way
-
-