|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Event
Event
is similar to the regular JCR Event and adds additional
information about the affected item.
Field Summary | |
---|---|
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_REMOVED
An event of this type is generated when a node is removed. |
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. |
Method Summary | |
---|---|
ItemId |
getItemId()
|
Name[] |
getMixinTypeNames()
|
NodeId |
getParentId()
|
Path |
getPath()
|
Name |
getPrimaryNodeTypeName()
|
int |
getType()
Returns the type of this event: a constant defined by this interface. |
String |
getUserID()
Returns the user ID connected with this event. |
Field Detail |
---|
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 ALL_TYPES
Method Detail |
---|
int getType()
Path getPath()
ItemId getItemId()
NodeId getParentId()
Name getPrimaryNodeTypeName()
ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
Name[] getMixinTypeNames()
ObservationManager.addEventListener(javax.jcr.observation.EventListener, int, java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
String getUserID()
String
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |