public interface Event
Event is similar to the regular JCR Event and adds additional
 information about the affected item.| Modifier and Type | Field and Description | 
|---|---|
static int | 
ALL_TYPES
Constant for observation listener interested in all types of events. 
 | 
static int | 
NODE_ADDED
An event of this type is generated when a node is added. 
 | 
static int | 
NODE_MOVED
An event of this type is generated when a node is moved. 
 | 
static int | 
NODE_REMOVED
An event of this type is generated when a node is removed. 
 | 
static int | 
PERSIST
If event bundling is supported, this event is used to indicate a
 bundle boundary within the event journal. 
 | 
static int | 
PROPERTY_ADDED
An event of this type is generated when a property is added. 
 | 
static int | 
PROPERTY_CHANGED
An event of this type is generated when a property is changed. 
 | 
static int | 
PROPERTY_REMOVED
An event of this type is generated when a property is removed. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getDate()
Returns the date when the change was persisted that caused this event. 
 | 
java.util.Map<Name,QValue> | 
getInfo()
Returns the information map associated with this event. 
 | 
ItemId | 
getItemId()  | 
Name[] | 
getMixinTypeNames()  | 
NodeId | 
getParentId()  | 
Path | 
getPath()  | 
Name | 
getPrimaryNodeTypeName()  | 
int | 
getType()
Returns the type of this event: a constant defined by this interface. 
 | 
java.lang.String | 
getUserData()
Returns the user data. 
 | 
java.lang.String | 
getUserID()
Returns the user ID connected with this event. 
 | 
static final int NODE_ADDED
static final int NODE_REMOVED
static final int PROPERTY_ADDED
static final int PROPERTY_REMOVED
static final int PROPERTY_CHANGED
static final int NODE_MOVED
static final int PERSIST
static final int ALL_TYPES
int getType()
Path getPath()
ItemId getItemId()
NodeId getParentId()
Name getPrimaryNodeTypeName()
javax.jcr.observation.ObservationManager#addEventListenerName[] getMixinTypeNames()
javax.jcr.observation.ObservationManager#addEventListenerjava.lang.String getUserID()
String.java.util.Map<Name,QValue> getInfo() throws RepositoryException
Map containing parameter information.RepositoryException - if an error occurs.javax.jcr.observation.Event#getInfo()java.lang.String getUserData()
javax.jcr.observation.Event#getUserData()long getDate()
      throws RepositoryException
javax.jcr.RepositoryException - if an error occurs.RepositoryExceptionjavax.jcr.observation.Event#getDate()"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"