org.apache.lenya.cms.observation
Class RepositoryEvent

java.lang.Object
  extended by org.apache.lenya.cms.observation.RepositoryEvent
Direct Known Subclasses:
DocumentEvent

public class RepositoryEvent
extends java.lang.Object

A repository event provides additional information if a document was added, changed, or removed.


Constructor Summary
RepositoryEvent(Session session, java.lang.Object descriptor)
          Ctor.
 
Method Summary
 java.lang.Object getDescriptor()
           
 Session getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryEvent

public RepositoryEvent(Session session,
                       java.lang.Object descriptor)
Ctor.

Parameters:
session - The session.
descriptor - More information about the event.
Method Detail

getSession

public Session getSession()
Returns:
The session.

getDescriptor

public java.lang.Object getDescriptor()
Returns:
The descriptor.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.