FileDocCategorySizeDatePackage
EntryEventListener.javaAPI DocApache Lucene 2.1.02035Wed Feb 14 10:46:06 GMT 2007org.apache.lucene.gdata.server.registry

EntryEventListener

public interface EntryEventListener
The EntryEventListener interface should be implemented by any class needs to be informed about any changes on entries. To register a class as a EntryEventListener use:

GdataServerRegistry.registerEntryEventListener(EntryEventListener);

author
Simon Willnauer

Fields Summary
Constructors Summary
Methods Summary
public abstract voidfireDeleteAllEntries(org.apache.lucene.gdata.data.ServerBaseFeed feed)
will be invoked on every successful feed delete

param
feed - the feed containing the feed id to delete all entries for

public abstract voidfireDeleteEvent(org.apache.lucene.gdata.data.ServerBaseEntry entry)
will be invoked on every successful entry delete

param
entry

public abstract voidfireInsertEvent(org.apache.lucene.gdata.data.ServerBaseEntry entry)
will be invoked on every successful entry insert

param
entry

public abstract voidfireUpdateEvent(org.apache.lucene.gdata.data.ServerBaseEntry entry)
will be invoked on every successful update on every entry

param
entry the updated entry