DLESE Tools
v1.6.0

org.dlese.dpc.oai.harvester
Interface OAIChangeListener

All Known Implementing Classes:
OAIChangeListenerImpl

public interface OAIChangeListener

Interface that receives an event message whenever an OAI record file is created, modified, exists but not modified, or deleted.


Method Summary
 void onRecordChange(String recordFilePath, String identifier)
          This method is called whenever an OAI record file has changed.
 void onRecordCreate(String recordFilePath, String identifier)
          This method is called whenever an OAI record file is created.
 void onRecordDelete(String recordFilePath, String identifier)
          This method is called whenever an OAI record file is deleted.
 void onRecordExistsNoChange(String recordFilePath, String identifier)
          This method is called whenever an OAI record file previously exists but has not changed.
 

Method Detail

onRecordDelete

void onRecordDelete(String recordFilePath,
                    String identifier)
This method is called whenever an OAI record file is deleted.

Parameters:
recordFilePath - The record file absolute path
identifier - The OAI identifier

onRecordCreate

void onRecordCreate(String recordFilePath,
                    String identifier)
This method is called whenever an OAI record file is created.

Parameters:
recordFilePath - The record file absolute path
identifier - The OAI identifier

onRecordChange

void onRecordChange(String recordFilePath,
                    String identifier)
This method is called whenever an OAI record file has changed.

Parameters:
recordFilePath - The record file absolute path
identifier - The OAI identifier

onRecordExistsNoChange

void onRecordExistsNoChange(String recordFilePath,
                            String identifier)
This method is called whenever an OAI record file previously exists but has not changed.

Parameters:
recordFilePath - The record file absolute path
identifier - The OAI identifier

DLESE Tools
v1.6.0