org.apache.lenya.cms.observation
Class DocumentEvent
java.lang.Object
org.apache.lenya.cms.observation.RepositoryEvent
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHANGED
public static final java.lang.Object CHANGED
- The change action.
REMOVED
public static final java.lang.Object REMOVED
- The removal action.
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
.
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.