it.could.webdav
Interface DAVListener

All Known Implementing Classes:
DAVReplica, DAVServlet

public interface DAVListener

A simple interface identifying a DAVRepository event listener.

Author:
Pier Fumagalli

Field Summary
static int COLLECTION_CREATED
          An event representing the creation of a collection.
static int COLLECTION_REMOVED
          An event representing the deletion of a collection.
static int RESOURCE_CREATED
          An event representing the creation of a resource.
static int RESOURCE_MODIFIED
          An event representing the modification of a resource.
static int RESOURCE_REMOVED
          An event representing the deletion of a resource.
 
Method Summary
 void notify(DAVResource resource, int event)
          Notify this DAVListener of an action occurred on a specified DAVResource.
 

Field Detail

COLLECTION_CREATED

public static final int COLLECTION_CREATED

An event representing the creation of a collection.

See Also:
Constant Field Values

COLLECTION_REMOVED

public static final int COLLECTION_REMOVED

An event representing the deletion of a collection.

See Also:
Constant Field Values

RESOURCE_CREATED

public static final int RESOURCE_CREATED

An event representing the creation of a resource.

See Also:
Constant Field Values

RESOURCE_REMOVED

public static final int RESOURCE_REMOVED

An event representing the deletion of a resource.

See Also:
Constant Field Values

RESOURCE_MODIFIED

public static final int RESOURCE_MODIFIED

An event representing the modification of a resource.

See Also:
Constant Field Values
Method Detail

notify

public void notify(DAVResource resource,
                   int event)

Notify this DAVListener of an action occurred on a specified DAVResource.

Parameters:
resource - the DAVResource associated with the notification.
event - a number identifying the type of the notification.