|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.observation.EventImpl
Implementation of the Event
interface.
Field Summary |
Fields inherited from interface javax.jcr.observation.Event |
NODE_ADDED, NODE_REMOVED, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED |
Method Summary | |
boolean |
equals(Object obj)
Returns true if this Event is equal to another
object. |
NodeId |
getChildId()
Returns the id of a child node operation. |
NodeId |
getParentId()
Returns the uuid of the parent node. |
String |
getPath()
|
int |
getType()
|
String |
getUserID()
|
int |
hashCode()
|
String |
toString()
Returns a String representation of this Event . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getType()
getType
in interface Event
public String getPath() throws RepositoryException
getPath
in interface Event
RepositoryException
public String getUserID()
getUserID
in interface Event
public NodeId getParentId()
public NodeId getChildId()
Event
was generated for a property
operation this method returns null
.
public String toString()
Event
.
Event
.public int hashCode()
Object.hashCode()
public boolean equals(Object obj)
true
if this Event
is equal to another
object.
Two Event
instances are equal if their respective
EventState
instances are equal and both Event
instances are intended for the same Session
that registerd
the EventListener
.
obj
- the reference object with which to compare.
true
if this Event
is equal to another
object.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |