Deletes the event from the
application's event store.
Syntax
public abstract void deleteEvent(String eventID);
Parameters
- eventID
- Specifies the event ID of the event to delete.
Return values
None.
Exceptions
- DeleteFailedException
- Thrown when the underlying application's attempt to delete the
event from the event store has failed.
Notes
The deleteEvent() method is used mainly during archiving. It deletes the event from
the event store after this event has been successfully moved to the
application's archive store.
- Important:
- The deleteEvent() method is an abstract
method.Therefore, the event-store class must implement this
method to provide the ability to delete an event from the event
store.
See also
archiveEvent()
