org.compass.gps.device.jdbc.snapshot
Class DeleteSnapshotEvent

java.lang.Object
  extended by org.compass.gps.device.jdbc.snapshot.AbstractSnapshotEvent
      extended by org.compass.gps.device.jdbc.snapshot.DeleteSnapshotEvent

public class DeleteSnapshotEvent
extends AbstractSnapshotEvent

A delete snapshot event, works with JdbcSnapshotEventListener.onDelete(DeleteSnapshotEvent). Holds the ResultSetToResourceMapping that maps to the result set that initiated the event, a list of JdbcAliasRowSnapshot for all the row snapapshots that were deleted, and the CompassTemplate to use in order to reflect the changes to the index.

Author:
kimchy

Constructor Summary
DeleteSnapshotEvent(Connection connection, JdbcDialect dialect, ResultSetToResourceMapping mapping, List deleteSnapshots, CompassGpsInterfaceDevice compassGps)
           
 
Method Summary
 CompassGpsInterfaceDevice getCompassGps()
           
 List getDeleteSnapshots()
           
 ResultSetToResourceMapping getMapping()
           
 
Methods inherited from class org.compass.gps.device.jdbc.snapshot.AbstractSnapshotEvent
getConnection, getDialect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteSnapshotEvent

public DeleteSnapshotEvent(Connection connection,
                           JdbcDialect dialect,
                           ResultSetToResourceMapping mapping,
                           List deleteSnapshots,
                           CompassGpsInterfaceDevice compassGps)
Method Detail

getDeleteSnapshots

public List getDeleteSnapshots()

getMapping

public ResultSetToResourceMapping getMapping()

getCompassGps

public CompassGpsInterfaceDevice getCompassGps()


Copyright (c) 2004-2009 The Compass Project.