at.ac.tuwien.dslab.rmi.common.interfaces
Interface IRepositoryListener

All Superinterfaces:
java.rmi.Remote

public interface IRepositoryListener
extends java.rmi.Remote

The IRepositoryListener captures the basic notification the server has to send to registered listeners.


Method Summary
 void documentCommitted(IDocument doc)
          This method is invoked by the server when a new document is committed.
 void documentImported(IDocument doc)
          This method is invoked by the server when a new document is imported.
 void documentRemoved(IDocument doc)
          This method is invoked by the server when a new document is removed.
 

Method Detail

documentCommitted

void documentCommitted(IDocument doc)
                       throws java.rmi.RemoteException
This method is invoked by the server when a new document is committed.

Parameters:
doc - The document which was committed to the server.
Throws:
java.rmi.RemoteException - If a communication error occurs.

documentImported

void documentImported(IDocument doc)
                      throws java.rmi.RemoteException
This method is invoked by the server when a new document is imported.

Parameters:
doc - The document which was imported to the server.
Throws:
java.rmi.RemoteException - If a communication error occurs.

documentRemoved

void documentRemoved(IDocument doc)
                     throws java.rmi.RemoteException
This method is invoked by the server when a new document is removed.

Parameters:
doc - The document which was removed to the server.
Throws:
java.rmi.RemoteException - If a communication error occurs.