org.apache.lenya.cms.observation
Class DocumentEvent

java.lang.Object
  extended by org.apache.lenya.cms.observation.RepositoryEvent
      extended by org.apache.lenya.cms.observation.DocumentEvent

public class DocumentEvent
extends RepositoryEvent

Document-related event.


Field Summary
static java.lang.Object CHANGED
          The change action.
static java.lang.Object REMOVED
          The removal action.
 
Constructor Summary
DocumentEvent(Session session, java.lang.String pubId, java.lang.String area, java.lang.String uuid, java.lang.String language, ResourceType resourceType, java.lang.Object descriptor)
          Ctor.
 
Method Summary
 java.lang.String getArea()
           
 java.lang.String getLanguage()
           
 java.lang.String getPublicationId()
           
 ResourceType getResourceType()
           
 java.lang.String getUuid()
           
 
Methods inherited from class org.apache.lenya.cms.observation.RepositoryEvent
getDescriptor, getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHANGED

public static final java.lang.Object CHANGED
The change action.


REMOVED

public static final java.lang.Object REMOVED
The removal action.

Constructor Detail

DocumentEvent

public DocumentEvent(Session session,
                     java.lang.String pubId,
                     java.lang.String area,
                     java.lang.String uuid,
                     java.lang.String language,
                     ResourceType resourceType,
                     java.lang.Object descriptor)
Ctor.

Parameters:
session - The session.
pubId - The publication ID.
area - The area.
uuid - The UUID.
language - The language.
resourceType - The resource type.
descriptor - More information about the event, for example CHANGED or REMOVED.
Method Detail

getArea

public java.lang.String getArea()
Returns:
The area.

getPublicationId

public java.lang.String getPublicationId()
Returns:
The publication ID.

getUuid

public java.lang.String getUuid()
Returns:
The UUID.

getLanguage

public java.lang.String getLanguage()
Returns:
The language.

getResourceType

public ResourceType getResourceType()
Returns:
The resource type.


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